On Oct 17, 2008, at 11:55 AM, Daniel wrote:
> However, I'm experiencing a memory leak on my new system. I can close
> all of the programs on my computer and still not get my memory back.
> The only option is to restart my computer.
Are you expecting memory to go back in the "free" column? If so, then
your understanding of the way UNIX systems use memory is flawed. In
the UNIX way of thinking free memory is wasted memory. So you don't
throw anything away until you actually need the space (slight
simplification, but close enough). And since putting data into "free"
memory takes exactly as much time as putting it in space that already
had data in it, this works out well. If you happen to request data
that is still in memory (but not actively being used) then you have
instant access to it. And that occurs often enough that it is
generally a good bet, especially since there is no disadvantage.
I would guess that your "leek" is simply more caching going on. When
it actually becomes a problem (as in causes actual performance
problems), then it is time to start questioning things. For now, it
sounds like you are just reading numbers and not quite understanding
what they mean.
--
Karl Kuehn
[EMAIL PROTECTED]
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Versions" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/versions?hl=en
-~----------~----~----~----~------~----~------~--~---