Chris Dailey <[EMAIL PROTECTED]> writes:

> So how do you return memory to the OS when you're using malloc()?
> free() returns it to the malloc() memory pool, sure, but if you malloc()
> persistent stuff after allocating temporary stuff, it's going to stay
> on the edge of memory and you won't be able to shrink your memory
> space without moving the memory and contents.  How does one fix this,
> regardless of whether it's a large evil proprietary company or a free
> software project?

>From the evaluation of this bug
"http://developer.java.sun.com/developer/bugParade/bugs/4065018.html":

  Of course, systems using a contiguous heap based on malloc rather than
  memory mapping would be out of luck.

-- 
Geoff Berry

Reply via email to