[plt-scheme] GC Warning ...

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Tue Apr 11 10:05:44 EDT 2006

At Tue, 11 Apr 2006 09:33:23 -0400, "David J. Neu" wrote:
> Does anyone know if there is a limit on how much memory mzscheme can
> address on a 32 bit machine, and if so what it is?

4GB.

But the amount of memory that the GC can allocate may be smaller, due
to fragmentation, including the placement of the C stack, etc. As far
as I know, such fragmentation would be the only reason the GC couldn't
allocate 4GB, but I'm not sure.

> > Running top shows plenty of physical memory available.

Well, virtual memory can be allocated without occupying physical
memory. For example, if you allocate a large block of memory and don't
touch it, the OS probably won't page it in. But probably you know that
it isn't the case in your program.

Matthew



Posted on the users mailing list.