how is memory allocated

Giovanni Giorgi jj at objectsroot.com
Wed Oct 6 09:43:09 UTC 2004


As far as I know data will be allocated in a huge VIRTUAL chunk.
The smart unix operating system (linux) will paginate it, swapping in 
and out the "unused part" of the image.

You should tune the virtual memory parameter of your image.
Good hacking :)

Kamil Kukura ha scritto  in data 06/10/2004 10.23:

> This is rather dumb question. If I have image of size, say 20MB, is it 
> loaded into the memory as one big chunk? Or is memory allocated on 
> demand somehow? This concerns me because I have virtual servers with 
> only 24MB RAM and they run Linux Debian with Apache with PHP and still 
> have free memory.
>


-- 
.............................................................
 Giovanni Giorgi               ObjectWay SpA - Milano
 http://www.objectway.it    via Boltraffio, 7 - 20156 Milano
.............................................................




More information about the Squeak-dev mailing list