Re[2]: [Gc] Question on LARGE_CONFIG

Ivan Maidanski ivmai at mail.ru
Fri Sep 18 11:37:47 PDT 2009


Hi!

"Boehm, Hans" <hans.boehm at hp.com> wrote:
> > From:  Ivan Maidanski
> > 
> > Hi!
> > 
> > The doc (Makefile.direct) says for LARGE_CONFIG:
> > #   Necessary for heaps larger than about 500 MB on most machines.
> > #   Recommended for heaps larger than about 64 MB.
> > 
> > Q1. Are the both statements still in force?
> I think the numbers were increased a couple of times since then.  The second number should probably be 500MB or 1GB.  The first number should be around 4 GB, aside from the GC_scratch_alloc issues we're discussing in another thread.

This is for 32-bit, right? And what are the number for 64?

> > 
> > Q2. LARGE_CONFIG Not recommended for heaps smaller than about what?
> I think it adds on the order of perhaps 200KB to the memory footprint, though some of that will probably never be accessed for small heaps.  In a virtual memory setting, it's probably not a big deal.  For embedded systems, it may matter a lot.
> 
> Hans

It would be good if you adjust Makefile.direct accordingly (otherwise, but not preferred, I could do this myself on your behalf).

Bye.


More information about the Gc mailing list