LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-14-2006, 01:21 PM   #1
Datamike
Member
 
Registered: Oct 2003
Location: Finland
Distribution: Slackware 12.0
Posts: 34

Rep: Reputation: 15
Question Running out of memory


Hey all,

I've discovered a rather interesting problem with my computer. I'm curiously running out of memory, little by little. My computer is running Slackware 10.0 and for desktop I have KDE 3.4.0. I've had this problem for some time now, but only now I've identified it.

When I boot my machine and start up, everything in running nicely. The computer is at that time, using about 200 Mb of memory. My box has a total of 256 Mb. There on after, the memory gets slowly reserved. When I monitor it with top, I can see the total memory in use increasing about 10-20 kb per every few seconds. It continues until all physical memory is used and then it starts to fill up swap memory. When swap runs out, the computer will turn sluggish and neigh unbearable to use.

A reboot is the only thing that helps and it only helps for a little while. All memory is on average consumed in two or three days usually.

Does anyone have an idea what could be causing this or better, how to fix this?
 
Old 02-14-2006, 01:26 PM   #2
nevelis
Member
 
Registered: Feb 2005
Distribution: Ubuntu, Debian
Posts: 56

Rep: Reputation: 15
A leaky application.

Watch top, see what program's using the most memory. If feasable, kill it. If not, look for an alternative program. Maybe it's KDE, have you tried another desktop environment?

Cheers,
Aaron
 
Old 02-14-2006, 01:29 PM   #3
nephish
Member
 
Registered: Jun 2005
Distribution: arch, ubuntu
Posts: 456

Rep: Reputation: 30
look at what programs you are running durring the memory leak. Also, may check top for which process may continue to increase their mem usage. reinstall whatever it is. may be a bug
 
Old 02-14-2006, 03:46 PM   #4
Datamike
Member
 
Registered: Oct 2003
Location: Finland
Distribution: Slackware 12.0
Posts: 34

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by nevelis
Watch top, see what program's using the most memory. If feasable, kill it. If not, look for an alternative program. Maybe it's KDE, have you
tried another desktop environment?
I haven't tried another desktop enviroment in a while, but I have used fluxbox, gnome, and windowmaker in the past and I've always experienced the same problem.

I tried monitoring applications, while running some of the commnon things I use. It might seem that everything is fine as long as I don't put in use enough
programs to exceed my physical memory capacity. When that happens, and swap is used, things go bad, 'cause the swap is not released; or not nearly entirely at
least. So whenever swap it used, it's not freed.

I can't see anyone application taking overly much memory; only amarok and X take any significant amount of memory. Amarok about 17% and X takes memory according to how many apps I'm running at that moment. With Firefox and Amarok on, it's about 17% too.

Is there a way to manually free memory from swap? I'm thinking of buying more RAM this week. Any ideas if that would help?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Serious Memory leak on a BP6 running Linux, please help! MayDay Linux - Hardware 7 09-11-2004 09:15 PM
Running the swap file out of memory Arbitor Mandriva 5 04-12-2004 02:23 AM
finding memory leak of a running process raees Linux - General 1 03-16-2004 10:43 AM
When running fluxbox 64megs memory used degraffenried13 Linux - General 7 12-07-2003 12:18 PM
physicial memory maxed out with no apps running erik Linux - Hardware 7 09-18-2003 03:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration