[Gc] RAM enough but out of virtual memory?

Boehm, Hans hans.boehm at hp.com
Mon Jul 18 12:13:49 PDT 2005

What's your platform?

Can you run the program with the GC_PRINT_STATS and
GC_DUMP_REGULARLY environment variables set, and capture the
resulting log?

That would tell us a lot more ...

It's possible that this can happen if the GC is scanning a
lot of essentially random bits (e.g. compressed data).  But
there's really too little information to go on, so far.


> -----Original Message-----
> From: gc-bounces at napali.hpl.hp.com 
> [mailto:gc-bounces at napali.hpl.hp.com] On Behalf Of Zhang Le
> Sent: Monday, July 18, 2005 9:00 AM
> To: gc at napali.hpl.hp.com
> Subject: [Gc] RAM enough but out of virtual memory?
> 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
> _______________________________________________
> Gc mailing list
> Gc at linux.hpl.hp.com 
> https://www.hpl.hp.com/hosted/linux/mail-archives/gc/

More information about the Gc mailing list