KensLinuxMachine
03-16-2002, 01:27 PM
Ok, I've found a good deal of info on the way that Physical RAM is allocated. Pretty much everything is cached until it reaches a certain age and then ... something happens... (memory is freed? It goes to swap?)
Anyways, I've got 256mb of memory and constantly have a fluctuating free memory of 8-10MB. Cache free is 150MB or so. So I've got the part that the free in cache is what's really "available".
But I'm using 16758k of swapfile space. Or 16766k as it was today. It's gone up a little here, a little there in the past few days. My question is, does Linux ever clean up after itself when it comes to the swap file? Being a finite amount, even if I use a little here and there per day, it will eventually fill up unless some of it is deallocated. If deallocation is going to occur, when? And if not, why not? Am I missing a piece of the puzzle here?
Thanks in Advance,
-Ken
Anyways, I've got 256mb of memory and constantly have a fluctuating free memory of 8-10MB. Cache free is 150MB or so. So I've got the part that the free in cache is what's really "available".
But I'm using 16758k of swapfile space. Or 16766k as it was today. It's gone up a little here, a little there in the past few days. My question is, does Linux ever clean up after itself when it comes to the swap file? Being a finite amount, even if I use a little here and there per day, it will eventually fill up unless some of it is deallocated. If deallocation is going to occur, when? And if not, why not? Am I missing a piece of the puzzle here?
Thanks in Advance,
-Ken