Re: Freeing memory - will it be available immediately



karthikbalaguru wrote:
Generally,
If it does not return the memory immediately, then ,
- Will it not drain the memory ?
- Will it not add more load to the OS in managing it by still being
in the memory(hidden) ?
- Will it not cause problems if i allocate some memory immediately
after calling free (as it is not freed immediately).

Yes to all these.

- Why do some memory management design return the memory immediately
to the OS and some at the later stage. Is there any specific
advantage in either of these designs ?

The answer is implementation-specific and offtopic in CLC.
comp.programming might possibly be a better place.
.



Relevant Pages

  • Re: TORO LawnMower - Fuel Leak
    ... Does your Toro engine "knock" under load? ... I took it in March so that I wouldn't load him, ... the fuel tank is leaking. ... It seems to be leaking from what looks like a drain or vent from the ...
    (alt.home.repair)
  • Re: ComboBox + Like
    ... If you load up your form with everything, ... that could take some time and be a 'drain' on the network. ... Obviously at the beginning cboID is NULL so I have nothing to show. ...
    (microsoft.public.access.queries)
  • Re: Apple shoots the web design industry...
    ... Oh bugger. ... There goes a load of work down the drain... ... Not so sure - it looks fine for Blogs, and sharing photos, but I'm not ...
    (uk.comp.sys.mac)
  • Re: Sewer repair (a bit OT)
    ... I did see a load of water flowing down a drain. ... > http://tinyurl.com/arwk5 gives a simplistic view of trench dewatering ...
    (uk.rec.subterranea)