[Win32] just another VM update (3.1 alpha build 1)

Bert Freudenberg bert at isg.cs.uni-magdeburg.de
Fri Mar 2 17:39:10 UTC 2001


On Fri, 2 Mar 2001, Lex Spoon wrote:

> Awesome!!  Attached is a quick implementation for anyone who wants to
> play with it in Unix.  It mmap's 500 Megs from /dev/zero, which on most
> Unices will both work and will not actually waste the memory until it's
> used (at which point it's not really wasting, now is it?). 

Why is this preferable over just allocating the old way? Even if I start
squeak with -memory 128m it takes up only like 14M of real memory. As I
read your code, it does not actually grow/shrink the memory.

Btw, did you actually try to alloc a 400M Array with your change?

-- Bert





More information about the Squeak-dev mailing list