RE: Re[2]: garbage collection

2005-04-21 Thread Simon Marlow
On 20 April 2005 15:56, Bulat Ziganshin wrote: Tuesday, April 19, 2005, 4:15:53 PM, you wrote: 1) can you add disableGC and enableGC procedures? this can significantly improve performance in some cases Sure. I imagine you want to do this to avoid a major collection right at the peak of

RE: Re[2]: garbage collection

2005-04-21 Thread Duncan Coutts
On Thu, 2005-04-21 at 10:57 +0100, Simon Marlow wrote: I mentioned madvise() above: this is a compromise solution which involves telling the kernel that the data in memory is not relevant, but doesn't actually free the memory. The kernel is free to discard the pages if memory gets tight,