[isabelle-dev] exception Size raised (line 173 of "./basis/LibrarySupport.sml")
nipkow at in.tum.de
Thu Feb 21 16:07:28 CET 2013
It is a fairly huge goal state that is supposed to get printed there. With all
the annotations, it may exceed the limit. But why is code generation involved at
that point ("done")?
Am 21/02/2013 15:56, schrieb Makarius:
> On Thu, 21 Feb 2013, Tobias Nipkow wrote:
>> Load attached theory in HOL/IMP. Go to line
>> done (* exception *)
>> and you'll see the subject line.
>> I am on parent: 51188:9b5bf1a9a710 tip
> The exception means that some string value has exceeded String.maxSize, which is
> approx. 64 MB on the 32bit platform that we are using by default everywhere.
> Enabling exception trace like this
> ML_command "Toplevel.debug := true"
> produces the following:
> Florian should know what to do here.
> There are often easy ways to avoid huge monolithic strings, e.g. via type
> Buffer.T instead of string. If it turns out complicated, one needs to think again.
More information about the isabelle-dev