[Larceny-users] Larceny Panic: Can't allocate an object of size ...

Lars T Hansen lth at acm.org
Fri Feb 5 03:52:08 EST 2016


16MB ought to be enough for anybody :)

The problem is likely the object layout for vectors, bytevectors,
procedures, and strings, which restricts the length field (which has a byte
count) to 24 bits.  A 64-bit Larceny runtime would help.  I don't think
such a runtime exists yet.

--lars


On Fri, Feb 5, 2016 at 8:40 AM, Sven Hartrumpf <hartrumpf at gmx.net> wrote:

> Hello.
>
> Is there a way to avoid the following compiler crash?
>
> Larceny v0.98+ "General Ripper" (Jan 26 2016 17:01:47,
> precise:Linux:unified)
> larceny.heap, built on Di 26. Jan 17:02:56 CET 2016
>
> >
> > Compiling nall.sld
> Reading larceny.scm
> Reading nall-larceny.scm
> WARNING from compiler:
> ANF size greater than 80000
> "Some global optimizations were not performed."
> Larceny Panic: Can't allocate an object of size 17536520 bytes: max is
> 16777215 bytes.
>
> Yes, it is a large program that I cannot break up,
> because I had to combine all modules (as cyclic dependencies
> are forbidden in Larceny, see other thread).
>
> This is the 32bit compiler; will the 64bit compiler help here?
>
> Ciao
> Sven
>
> _______________________________________________
> Larceny-users mailing list
> Larceny-users at lists.ccs.neu.edu
> https://lists.ccs.neu.edu/bin/listinfo/larceny-users
>
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the Larceny-users mailing list