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.
|
|
01-27-2009, 05:57 PM
|
#1
|
Member
Registered: Apr 2007
Distribution: CrunchBang 10 Statler
Posts: 106
Rep:
|
Possible to compress RAM usage by Mozilla or other programs?
Mozilla (Firefox 3 or Swiftfox 3) tends to expand its RAM usage according to how much memory is available - it can easily expand to 400 MB or more if I have a lot of windows open. However if I then open several other memory hungry programs (such as GQview in a directory with hundreds of pictures), Mozilla shrinks its RAM usage.
Is there a way of making this happen without deliberately opening other programs?
Last edited by Chriswaterguy; 01-27-2009 at 08:32 PM.
|
|
|
01-27-2009, 07:01 PM
|
#2
|
Senior Member
Registered: Jan 2006
Posts: 4,363
Rep:
|
You have to understand that this is the way Linux was designed. It will use as much of the resources as it needs, until it needs to share those resources. From your description your system is sharing those resources when it needs to. Why would you want to change this?
|
|
|
01-27-2009, 09:01 PM
|
#3
|
Member
Registered: Apr 2007
Distribution: CrunchBang 10 Statler
Posts: 106
Original Poster
Rep:
|
Memory hogs slow things down
Quote:
Originally Posted by lazlow
You have to understand that this is the way Linux was designed. It will use as much of the resources as it needs, until it needs to share those resources. From your description your system is sharing those resources when it needs to. Why would you want to change this?
|
Unfortunately it uses too much of the resources - when my Mozilla browser is using 450 MB RAM and I'm using 920 MB of my 1 GM RAM, my machine slows down horribly. Changing windows or tabs leads to applications - or sometimes the window manager - hanging for 10, 20 seconds or sometimes even more.
Swiftfox just crashed. Mhen I restarted and all the same pages were loaded, it was using 170 MB, instead of the 480 MB it was using before the crash. (I hadn't restarted off the browser for maybe a week - I prefer to suspend my machine rather than restarting things, especially when I'm traveling and have poor connectivity.)
|
|
|
01-27-2009, 11:22 PM
|
#4
|
Senior Member
Registered: Jan 2006
Posts: 4,363
Rep:
|
That sounds more like a bug in your distro (or application not behaving) than a Linux design flaw. The next time you see this slowdown post the results of top and free. This will give us a better idea of what is actually going on.
|
|
|
05-02-2009, 07:18 PM
|
#5
|
Member
Registered: Apr 2007
Distribution: CrunchBang 10 Statler
Posts: 106
Original Poster
Rep:
|
Quote:
That sounds more like a bug in your distro (or application not behaving) than a Linux design flaw
|
I thought it was a Firefox design flaw, not a Linux design flaw.
Now I'm using CrunchBang instead of Mandriva, and the same thing happens. It even happens in when I use SwiftFox or SwiftWeasel instead of Firefox, though not as badly.
Will get back to you with the output of top and free.
|
|
|
05-03-2009, 05:19 AM
|
#6
|
Moderator
Registered: May 2001
Posts: 29,415
|
Firefox I think is well known for hogging memory. That must be due to design choices because Opera certainly uses way less memory lst time I checked. While in essence you should review your whole system for optimal performance (HW, kernel version, scheduler, swappiness and VM sysctls, fs choice, fs mount options) the first thing I'd do to troubleshoot problems with Firefox is create a new clean profile and use that. If that shows way less crashing or memory hogging it may be a Firefox plugin problem.
|
|
|
All times are GMT -5. The time now is 07:54 AM.
|
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
|
|