[Gc] RAM enough but out of virtual memory?
69dbb24b2db3daad932c457cccfd6 at gmail.com
Mon Jul 18 13:56:09 PDT 2005
On 7/18/05, Boehm, Hans <hans.boehm at hp.com> wrote:
> What's your platform?
Linux 2.6 smp (2 PIII cpus) with 512 RAM, but threading is disabled in GC.
> 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 ...
The log file is too big to paste here, please see:
http://homepages.inf.ed.ac.uk/s0450736/tmp/log.txt (GC_PRINT_STATS, 20k)
Interestingly, when I try to run my program on a Linux machine with 4G
RAM, it stops at the same position as on the 512 RAM machine. I'd
expected it runs longer! Also, I keep getting warning message like:
GC Warning: Repeated allocation of very large block (appr. size 20480):
May lead to memory leak and poor performance.
after it consumes more than 400MB vram, though real RAM used is always
under 100MB reported by top.
> 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!
More information about the Gc