From: Martin C. <cra...@co...> - 2009-11-03 14:04:43
|
Giovanni Gigante wrote on Tue, Nov 03, 2009 at 01:36:16PM +0100: > > Hello, > I tried starting sbcl with --dynamic-space-size 4000 (that is, 4GB; > unfortunately I really need that much memory). > It refused to, saying "specified --dynamic-space-size too large". So is > there an upper limit? (SBCL manual does not say it). > > Also, trying with a lower value, 3000, sbcl does not complain in the > same way, but still fails to allocate it ("mmap: Cannot allocate > memory"), despite the fact that this machine has 6GB RAM of which 5.9GB > are free, according to "free" command. > > What's going on? Is there no way to use SBCL with a lot of memory? There is no way to use all that memory in a single 32 bit process. > I am on debian linux 5.0.3, kernel 2.6.26-2-686-bigmem, SBCL 1.0.29 There was the 4GB/4GB VM split patch the Redhat hat in Fedore Core 2 and parts of 3 IIRC for a while. That would allow you to go close to 4 GB. Is there a specific reason why you can't go 64 bits? Martin -- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Martin Cracauer <cra...@co...> http://www.cons.org/cracauer/ FreeBSD - where you want to go, today. http://www.freebsd.org/ |