| Barry Margolin 2005-12-19, 2:49 am |
| In article <1134962572.006304.172180@g49g2000cwa.googlegroups.com>,
"apple.davinci" <apple.davinci@gmail.com> wrote:
> thanks very much. the most I agree with you.
> could you tell more detail on how the OS reclaim memory.
A process is basically a collection of virtual memory and register
settings. When the process goes away, the virtual memory is no longer
needed, so it gets reclaimed. There are some exceptions for shared
memory (since it may still be in use by other processes), but all the
private virtual memory goes away.
--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***
|