LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 10-16-2002, 10:01 AM   #1
luser
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, 10:06 AM   #2
acid_kewpie
Moderator
 
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, 10:08 AM   #3
jglen490
Member
 
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, 10:42 AM   #4
luser
LQ Newbie
 
Registered: Oct 2002
Distribution: Slackware
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks for your time
 
Old 10-17-2002, 08:18 AM   #5
Half_Elf
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
 
  


Reply


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 02:05 PM
question about memory ? maxboost Linux - General 3 02-25-2005 03:58 PM
memory question true_atlantis Linux - Newbie 2 10-30-2004 11:09 PM
Memory question mmars Linux - General 3 09-04-2003 10:27 AM
Help!?! RH 8 Memory Mapping -High Memory-Virtural Memory issues.. Merlin53 Linux - Hardware 2 06-18-2003 04:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration