Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 10-16-2002, 11:01 AM   #1
LQ Newbie
Registered: Oct 2002
Distribution: Slackware
Posts: 8

Rep: Reputation: 0
Memory question

I have 256 megs of ram in my machine and it runs with like 5-7 megs free all the tiem while running X so I installed 512 and it still runs with 5-7 free if I kill x it's a whole lot better. Does X have a lot of memory leeks or maybe KDE. Just kind of curious.
Old 10-16-2002, 11:06 AM   #2
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977
you've not searched the site have you? please try to search before asking. my short answer is that it's fine, and it's a good thing.. if you've got it flaunt it. there ae many long answers if you look!
Old 10-16-2002, 11:08 AM   #3
Registered: Apr 2002
Location: The next brick house on the right.
Distribution: Kubuntu 8.04
Posts: 668

Rep: Reputation: 31
While it is possible for Linux apps to not properly free memory when "done", in general you are not seeing this phenomenon. Since you noticed a decrease in memory usage when you killed X window, then memory is being properly freed.

Linux will try to use as much memory as available during use. Apps will cache recent usage to permit quicker access on return. The specific activities being cached will, of course, vary over time but are usually allocated and freed correctly.
Old 10-16-2002, 11:42 AM   #4
LQ Newbie
Registered: Oct 2002
Distribution: Slackware
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks for your time
Old 10-17-2002, 09:18 AM   #5
LQ Guru
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 46
Linux will use the most memory you give him... I guess Linux only keep 4-5 free meg are keeped in case of a "serious need" only. But Linux will eventually free used ram (shutdown X then start it again, it should free you around 80MB!), thing that windoze have some problem to do... If you're using something that need a LOT of memory (like a game), you will notice that the process will eat more and more memory and others apps will decrease their use. I once saw a game (unreal) using 215MB of Ram (my system only has 256meg)... Habitually, this should be freed when you close the apps


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
memory question buttnutt Linux - Hardware 4 03-16-2005 03:05 PM
question about memory ? maxboost Linux - General 3 02-25-2005 04:58 PM
memory question true_atlantis Linux - Newbie 2 10-31-2004 12:09 AM
Memory question mmars Linux - General 3 09-04-2003 11:27 AM
Help!?! RH 8 Memory Mapping -High Memory-Virtural Memory issues.. Merlin53 Linux - Hardware 2 06-18-2003 05:48 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:00 AM.

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