VM and memory on win32

Ramon Leon ramon.leon at allresnet.com
Thu Sep 14 21:38:01 UTC 2006


Hi, I was playing around with some rather large data sets and seemed to have
run into an issue with the 3.7.1 VM, which as far as I know is the latest
and greatest for windows.  It seems that the VM allocates memory
dynamically, ignores the memory: command line switch, and memory seems
capped somewhere around 900 meg.  Once I get up to about 900 or so, I get...

Space is low
Warning! Squeak is almost out of memory!

On several occasions, soon after this warning, the VM just died, costing me
some data.  This isn't a killer, I just moved my data into a database and
worked with it from there, but I was disappointed that I couldn't simply
work with the data in memory as pure objects.  It's just temporary data, not
intended for long term storage, so I figured I'd just play in a workspace
and toss it out when done.

My issues aside, I was wondering why Squeak can't use all available memory
when necessary, I have 2gigs, why should the VM be limited to 900 or so
megs?  I was on #squeak IRC channel discussing this and someone mentioned
the crashing could be a bug related to int's vs. unsigned int's somewhere in
the VM.  So if anyone has any answers to either issue, the memory limit, or
the fatal crashing, I'd love to hear about it.




More information about the Squeak-dev mailing list