Hey Bill

No, I hadn't thought about that. But I guess It wouldn't help me much anyway 
since what effectively eats memory is the data I store in the image; I reuse my 
objects as much as possible. Basically, I'm storing thousands of very short 
strings in ByteArrays (files in a memory filesystem, using Colin Putney's 
Filesystem framework). Writing the same data to disk gives me around 500 MB 
because of the massive overhead per file (there's around 50 bytes per file and 
each file allocates 4 KB). I guess it would be less in the image but let's just 
say I'll need around 1 GB probably.

Max


On 09.10.2010, at 23:14, Schwab,Wilhelm K wrote:

> Max,
> 
> You are probably way ahead of this (and keep pushing the envelope<g>), but 
> you do know about #release, right?  A couple of weeks ago I ran some fairly 
> intense calculations that resulted in low space conditions.  Sending #release 
> to the participants (and implementing it correctly) fixed it.
> 
> One thing that IMHO has never worked well, or at least not as well as 
> advertised, in Dolphin is relying on its finalization "water mark" to trigger 
> cleanup of finalizable objects on need.  Most notably, I found it necessary 
> to explicitly clean up ODBC statements to avoid errors/crashes.
> 
> How much memory do you need?  May I ask for what?  32 or 64 bit?
> 
> Bill
> 
> 
> 
> ________________________________________
> From: [email protected] 
> [[email protected]] On Behalf Of Max Leske 
> [[email protected]]
> Sent: Saturday, October 09, 2010 12:01 PM
> To: [email protected]
> Subject: [Pharo-project] Getting my head around low space
> 
> Hi
> 
> I'm having trouble with low space warnings in Pharo. Is there a source on how 
> much memory the image can get from the OS? Is there maybe a way to up that 
> limit? I am loading a lot of data into the image and the limit at the moment 
> seems to be around 500 MB.
> 
> Thanks for any ideas.
> 
> Cheers,
> Max
> _______________________________________________
> Pharo-project mailing list
> [email protected]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> 
> _______________________________________________
> Pharo-project mailing list
> [email protected]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to