[Gc] Can GC return unused pages to the OS?

Alec Orr Alec.Orr at wbemsolutions.com
Wed Feb 18 08:22:12 PST 2004


Sorry for the late reply.  Will run with this for a while.  This setting 
is made in the Makefile.direct file correct?

Thank you,
Alec

Jeff Sturm wrote:

> Have you tried building the collector with -DUSE_MUNMAP?
> 
> Jeff
> 
> On Mon, 16 Feb 2004, Alec Orr wrote:
> 
>>Some of our embedded device C applications have a few operations which
>>require a high one-time volume of memory, and then release it.  These
>>operations are scheduled, and intermittant (occur once every few hours,
>>or days).  Is there a way to explicitly force (or ask with strong
>>language) the garbage collector to coalesce and return unused memory
>>pages to the operating system?  It would be nice of this could be
>>enabled/disabled using a toggle, but if that can't be done - so be it.
>>
>>We realize there could be a high performance impact in doing this.
>>We realize this may not be possible on some platforms.
>>
>>We already use the GC_dont_expand variable=1 , and strategic calls to
>>GC_gcollect().
>>
>>Thank you for your time,
>>Alec Orr
>>WBEM Solutions
>>
>>
>>
>>
>>_______________________________________________
>>Gc mailing list
>>Gc at linux.hpl.hp.com
>>http://www.hpl.hp.com/hosted/linux/mail-archives/gc/
>>
> 
> 
> _______________________________________________
> Gc mailing list
> Gc at linux.hpl.hp.com
> http://www.hpl.hp.com/hosted/linux/mail-archives/gc/
> 
> 
> 




More information about the Gc mailing list