[Gc] RAM enough but out of virtual memory?

Zhang Le 69dbb24b2db3daad932c457cccfd6 at gmail.com
Mon Jul 18 08:59:46 PDT 2005


Hello,
  I'm running my program with gc 6.5 on a machine with 512MB ram. Then
GC quits with a warning message :
GC Warning: Out of Memory!  Returning NIL!

  Using top, I can observe that GC allocates nearly 1G virtual memory
before it dies, but the in-RAM memory used by my program is only
around 60MB.  It seems GC consumes VRAM much quicker than RAM in my
case.  I tried to call GC_gcollect() from time to time, but it does
not help.
 Any tips?

Zhang Le



More information about the Gc mailing list