Bruno Daniel <bruno.daniel@...> writes:
> Dear developers,
>
> I'm using sbcl-1.0.5 on a linux machine which has 4 GB
> of RAM, but it doesn't seem to be possible to use more
> than about 1.3 GB from SBCL. Whenever I try to allocate
> more memory in some arrays, I get a heap exhaustion.
>
> I tried to use the option --dynamic-space-size, but
> with more than 1600 as the parameter, I receive the
> following error message on the shell.
>
> > sbcl --dynamic-space-size 1700
> mmap: wanted 268431360 bytes at 0x70000000, actually mapped at 0xe7cee000
> ensure_space: failed to validate 268431360 bytes at 0x70000000
> (hint: Try "ulimit -a"; maybe you should increase memory limits.)
You should be able to use a larger number than that (though not 4GB or
even 3GB) if you upgrade to 1.0.6 or newer, since the memory spaces
were rearranged recently.
--
Juho Snellman
|