[Gc] Can GC return unused pages to the OS?
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?
Jeff Sturm wrote:
> Have you tried building the collector with -DUSE_MUNMAP?
> 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
>>Thank you for your time,
>>Gc mailing list
>>Gc at linux.hpl.hp.com
> Gc mailing list
> Gc at linux.hpl.hp.com
More information about the Gc