Jump to content

Swap memory


MoonChild
 Share

Recommended Posts

So here is my question...

 

My swap space (256MB) gets filled whenever I use wine, Abiword and OpenOffice. Unfortunately, it seems they never free it back, so I am stuck with no Swap until I restart X.

 

I am unsure of why X keeps the Swap after the programs are shut, but it sucks because movie players use swap a lot, and I don't want to restart X to play movies.

 

Any ideas on how to clear swap memory manually? Or how to tell X to release it anywayz?

Link to comment
Share on other sites

How much ram do you have and how are you checking your memory usage? If you are not seeing pretty drastic performance drops when all your swap is being used, it may just be that your swap virtual memory is being cached somehow. Try checking in KDE Control Center>Information>Memory.

Link to comment
Share on other sites

With that much RAM, I'm surprised that you are going into swap very much at all. How is your performance, i.e. do applications take a long time to come up, is the system slow and unresponsive, etc ?

 

The reason I ask is that if your RAM and swap are really maxed out, you will experience some real performance problems. If you are not having performance problems, you are probally misinterpreting the readings from your memory utility.

 

For example, you say kde control center reports 8 Kb free. I'll bet if you look closely, you will see a large part of that RAM is reported as cached RAM. Although technically "used", cached RAM is available. It's used to increase performance by keeping the necessary info for an application in RAM which reduces the start up time of the app since it doesn't have to be read from the hard drive at a much slower rate. That's why the second time you start say a browser, it starts much faster than the first time. However, the operating system will clear out the cached ram as other apps need it. It's really nothing to be concerned about unless you are having performance problems.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...