From: Nikodemus S. <nik...@ra...> - 2010-03-18 16:21:38
|
On 18 March 2010 15:46, Brett van de Sande <bv...@as...> wrote: > I have already increased dynamic-space-end to #x3ffff000 > in src/compiler/x86/parms.lisp. According to the documentation, > 0x40000000 is the bottom of the shared library space in 32 bit linux. > Also, I am using --dynamic-space-size 1500. Should I go higher? There is little point in adjusting dynamic-space-end if you use --dynamic-space-size: the latter will override the first. You should go as high as you need to, asssuming you can go as high as you need to... Theoretically (if no garbage is retained via conservativism) you should in the worst case need 2*max-live-data space. If a session should use only 1Mb memory, then ~600Mb should be enough. However, something in the code is allocating 256Mb objects -- most likely arrays of some sort. If you can get 1 such live object per session, you will need a much larger heap than 32-bit Linux can support. I think the next step is tracking down that large allocation. Perhaps there is an ill-adviced MAKE-HASH-TABLE :REHASH-SIZE somewhere? (Floats larger than 2.0 there are *bad*.) Cheers, -- Nikodemus |