Running out of memory

Raab, Andreas Andreas.Raab at disney.com
Thu Sep 7 19:53:56 UTC 2000


> What happend if there is no parameter ?  It uses up memory as 
> needed, or there is some default. 

The current default is max(16MB, 2*imageSize). Unless you specify -memory:
(which overrides everything else).

> If the Windows VM works as you say, then I can just
> set a nice BIG number from the start, and be assured that 
> Squeak won't use unless it is necessary.

Yup. That works - at one point I started Squeak with 512MB of mem. But it
does have a BIG problem if you're then running physically out of memory
(e.g., actual + swap space). Also, be reminded that these days allocated
memory is not given back to the OS (there's no hook after a GC that would
tell us what is now free).

  - Andreas





More information about the Squeak-dev mailing list