Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-13-2006, 09:55 PM
|
#1
|
Member
Registered: Apr 2006
Distribution: SUSE 10.3
Posts: 37
Rep:
|
SUSE- reduce ram consumption
I have SUSE linux 10.0 and I run KDE. I have 448 mb of ram (64 for onboard graphics) and running firefox right now with all of the background processes uses 431mb of ram. There seems to be alot of unecessary processes running. I set printer daemon to not start through Yast since I don't have a printer and this gave me about 5mb. Does anyone know of any unnecessary daemons or processes that I coud get rid of to free up some ram?
|
|
|
04-14-2006, 04:28 AM
|
#2
|
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870
|
how much RAM is your firefox using?? you can drastically reduce the amount of RAM firefox uses by tweaking the value of browser.sessionhistory.max_total_viewers with about:config...
have a look: http://www.google.com/search?q=brows..._total_viewers
|
|
|
04-14-2006, 07:53 AM
|
#3
|
Member
Registered: May 2005
Distribution: Fedora Core Since version 3
Posts: 193
Rep:
|
did you get those values via the "top" command?
If so, some of that used ram is cached disk data and will be freed as needed. This is quite normal. If I leave my machine (1gb ram) running for a while and do some disk-based tasks, I have about 150mb free, and about 500mb of cached data.
|
|
|
04-14-2006, 12:58 PM
|
#4
|
Member
Registered: Apr 2006
Distribution: SUSE 10.3
Posts: 37
Original Poster
Rep:
|
Yes, my ram was being used as cache. I opened up 20 or so applications and my ram usage actually decreased! That is great that my ram is being used as cache instead of just sitting there. Thanks alot!
|
|
|
04-14-2006, 05:36 PM
|
#5
|
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870
|
the RAM cache thing is true, and it's a common cause for concern for a lot of people new to linux's way of dealing with memory...
however, i would like to point-out that it is unrelated to firefox's extremely high memory usage... if you want to conserve ram, i suggest you consider tweaking browser.sessionhistory.max_total_viewers...
by tweaking browser.sessionhistory.max_total_viewers i was able to reduce my firefox's average memory usage (during heavy browsing) from about 160MB to 60MB... that's about 100MB of saved RAM - which would NOT have been released by the system if something else needed it (unlike the cached RAM you see in "top")... with this tweak, many people have experienced far greater RAM usage reduction than i have... 
Last edited by win32sux; 04-14-2006 at 06:22 PM.
|
|
|
04-14-2006, 09:00 PM
|
#6
|
LQ Veteran
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642
Rep:
|
This article by sapphirecat on Linux Memory Management may be of interest
|
|
|
04-14-2006, 09:13 PM
|
#7
|
Member
Registered: Mar 2006
Distribution: Lilidog!
Posts: 347
Rep:
|
What would you suggest to be an appropriate setting? I was suprised to see that mine was set to -1 rather than some positive number.
|
|
|
04-14-2006, 10:21 PM
|
#8
|
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870
|
Quote:
Originally Posted by sleekmason
What would you suggest to be an appropriate setting? I was suprised to see that mine was set to -1 rather than some positive number.
|
it depends on how much ram you have, what kinda surfing you do, what kinda results you desire, etc... but yeah, -1 is the default, which makes firefox calulate it's own setting depending on how much ram you have... i have 512MB and firefox was using WAY too much of my ram... so i've set it to 1... first i tried setting it to 0 to see what it was like with the feature disabled, but the loading time for pages when going back was greatly affected, as was the surfing experience... so i've settled for a setting of 1, as it provides me with the snappiness i need while hogging as little of my ram as possible... my guess is that most people with 256MB or more would be happy enough with a setting of 1 or 2...
Last edited by win32sux; 04-14-2006 at 10:33 PM.
|
|
|
All times are GMT -5. The time now is 05:10 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|