Wilders Security Forums  

Go Back   Wilders Security Forums > Software, Hardware and General Services > other software & services
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread
  #1  
Old January 1st, 2011, 03:09 AM
sweater's Avatar
sweater sweater is offline
Very Frequent Poster
 
Join Date: Jun 2005
Location: The Philippines, the New Jerusalem
Posts: 1,592
Default HOw u reduce memory in Firefox?

Maybe I just forgot.

How can I reduce the memory consumptions of my Firefox browser, it v3.6.13. Sometimes memory print goes to 105,000k

What add-ons on it do you think adds up to high memory consumptions and probably could slow down the net surfing speed?
Attached Images
 
__________________
Eset NOD32 Sandboxie Firefox

"The Internet? We are not interested in it" - Bill Gates, 1993
http://www.gatesfoundation.org/Pages/home.aspx
“We are coming to think of God as dwelling in man rather than as operating on men from without.” - Lyman Abbott
  #2  
Old January 1st, 2011, 03:26 AM
Boyfriend Boyfriend is offline
Very Frequent Poster
 
Join Date: Jun 2010
Location: Pakistan
Posts: 1,071
Default Re: HOw u reduce memory in Firefox?

There are several tricks and tips. You can simply use CleanMem to free up RAM without affecting processes stability.
__________________
Windows 8 Pro x64 + Kaspersky Internet Security 2013 + Shadow Defender 1.2.0.376 + Sandboxie 3.76
  #3  
Old January 1st, 2011, 04:17 AM
Night_Raven Night_Raven is offline
Frequent Poster
 
Join Date: Apr 2006
Posts: 330
Default Re: HOw u reduce memory in Firefox?

A browser consuming up to even ~300MB is kind of normal. 100MB is actually low memory consumption.
Cleaning/freeing/defragmenting RAM is a hoax. It doesn't do anything beneficial for the performance of the system.
  #4  
Old January 1st, 2011, 04:38 AM
J_L's Avatar
J_L J_L is offline
Massive Poster
 
Join Date: Nov 2009
Posts: 4,821
Default Re: HOw u reduce memory in Firefox?

Quote:
Originally Posted by Night_Raven
Cleaning/freeing/defragmenting RAM is a hoax. It doesn't do anything beneficial for the performance of the system.
Not if you've tried CleanMem.
__________________
  #5  
Old January 1st, 2011, 04:46 AM
sweater's Avatar
sweater sweater is offline
Very Frequent Poster
 
Join Date: Jun 2005
Location: The Philippines, the New Jerusalem
Posts: 1,592
Default Re: HOw u reduce memory in Firefox?

ah, ok.

Actually, I already have TuneUp Utilities installed...so I was hesitant if still I ever need those RAM freeing/defrag tool.

Memory consumptions is now up to 130,700. But as you said it's still normal, then I'll just accept it as it is.
__________________
Eset NOD32 Sandboxie Firefox

"The Internet? We are not interested in it" - Bill Gates, 1993
http://www.gatesfoundation.org/Pages/home.aspx
“We are coming to think of God as dwelling in man rather than as operating on men from without.” - Lyman Abbott

Last edited by sweater : January 1st, 2011 at 04:53 AM.
  #6  
Old January 1st, 2011, 04:52 AM
Night_Raven Night_Raven is offline
Frequent Poster
 
Join Date: Apr 2006
Posts: 330
Default Re: HOw u reduce memory in Firefox?

Quote:
Originally Posted by J_L
Not if you've tried CleanMem.
I don't have to try it to know it's snake oil. When it comes to memory management the operating system knows best.
  #7  
Old January 1st, 2011, 05:53 AM
J_L's Avatar
J_L J_L is offline
Massive Poster
 
Join Date: Nov 2009
Posts: 4,821
Default Re: HOw u reduce memory in Firefox?

Quote:
Originally Posted by Night_Raven
I don't have to try it to know it's snake oil. When it comes to memory management the operating system knows best.
You won't know until you try. That's a fact.
__________________
  #8  
Old January 1st, 2011, 06:05 AM
Night_Raven Night_Raven is offline
Frequent Poster
 
Join Date: Apr 2006
Posts: 330
Default Re: HOw u reduce memory in Firefox?

I don't really need to try such programs if I already have an idea how the Windows memory manager works, what it does and why it does it that very way. Of course if you really believe that the people at Microsoft don't know their own operating system and that some other small author has a better understanding of how the Windows kernel actually works, then by all means use such a program.

Last edited by Night_Raven : January 1st, 2011 at 06:12 AM.
  #9  
Old January 1st, 2011, 06:21 AM
Boyfriend Boyfriend is offline
Very Frequent Poster
 
Join Date: Jun 2010
Location: Pakistan
Posts: 1,071
Default Re: HOw u reduce memory in Firefox?

CleanMem works differently. It calls OS own APIs with parameters and rest of whole work is done by OS own memory manager. It is just like cleaning free memory (without pushing data to page file) on-demand. Other memory manager try to free RAM at cost of page file. Try yourself and then report here.
__________________
Windows 8 Pro x64 + Kaspersky Internet Security 2013 + Shadow Defender 1.2.0.376 + Sandboxie 3.76
  #10  
Old January 1st, 2011, 11:51 AM
Baldrick's Avatar
Baldrick Baldrick is offline
Very Frequent Poster
 
Join Date: May 2002
Location: South Wales, UK
Posts: 1,281
Default Re: HOw u reduce memory in Firefox?

Quote:
Originally Posted by Boyfriend
CleanMem works differently. It calls OS own APIs with parameters and rest of whole work is done by OS own memory manager. It is just like cleaning free memory (without pushing data to page file) on-demand. Other memory manager try to free RAM at cost of page file. Try yourself and then report here.
Completely agree with Boyfriend. Have used Cleanmem for a number of years and it works brilliantly...no massive reductions in memory usage but just keeps a lid on memory misuse, leaks & the likes. Set it up, schedule it to run as often as you like...and then simply forget.

Simples!
__________________
KIS 2013 & Webroot SecureAnywhere Essentials 2013 ...once again the perfect combination!
  #11  
Old January 1st, 2011, 11:59 AM
nikanthpromod's Avatar
nikanthpromod nikanthpromod is offline
Very Frequent Poster
 
Join Date: Oct 2009
Location: India
Posts: 1,368
Default Re: HOw u reduce memory in Firefox?

there is an addon called memory fox. try it. It might help u
__________________
Windows 7 Home premium x64
WEBROOT Secure Anywhere Complete

  #12  
Old January 1st, 2011, 01:51 PM
Night_Raven Night_Raven is offline
Frequent Poster
 
Join Date: Apr 2006
Posts: 330
Default Re: HOw u reduce memory in Firefox?

Just because CleanMem isn't a typical memory cleaner/optimizer doesn't mean it's actually doing something worthwhile.
The explanation on CleanMem's website is actually quite vague as to what it actually does. Cleaning memory? What does that actually mean? Zeroing free pages from memory?
If the program indeed doesn't cause disk I/O, then it must be ejecting pages from each process' working set and putting those pages in the standby page list. From what I see on my system it is quite possibly exactly what it does. Windows does it too actually, just not so aggressively.

Whenever a process starts it touches all of its needed virtual memory which causes it it get loaded into the RAM and become its working set. With time Windows automatically trims this working set and ejects some of the pages. If a page has been modified during its stay in the RAM it gets moved to the modified page list. These pages contain data that has to be written back to the hard drive (either to a regular file or to the pagefile) before they can be moved to the standby page list. This isn't done all the time but only when the list grows beyond a certain point or if the zeroed and standby lists become too small.
If a page hasn't been modified then it gets moved directly to the standby page list. These pages are still associated with their respective processes but are not included in their working sets. They can be very qucikly re-assigned back to their processes but they could be given to another process, should the need arise. These pages are for all intents and purposes available memory.
With time pages from the standby page list get moved to the free page list which is considered officially free memory and will be used if a process needs more memory.
Again with time the zero page thread keeps zeroing the free pages and moving them to the zero page list.

Whenever a process demands more memory the memory manager checks the free and zeroed page lists first, and not the standby page list. The last contains pages that are still associated with their processes and could be recalled soon. However if the zero and free page lists are empty then the memory manager will begin giving away the standby pages starting with oldest oldest ones.

If there is some memory hungry process and the free, zero and standby lists are all empty Windows will begin flushing pages from the modified page list and even taking away pages from the working sets as a last resort. However even if there isn't such a process flushing of modified pages will still occur if they reach a certain number or if the zeroed pages drop below a certain threshold.
Because the memory manager goes to the standby page list first before trying to flush modified pages it would seem beneficial to have more standby pages at the ready which is what CleanMem does as I see, so if it just so happens that there is a sudden high demand for memory by some process then those additional standby pages would come in handy. However for Windows to have to give away standby pages the zeroed pages must be none which will trigger flushing of modified pages anyway which would result in disk I/O.
And even if forget about that, after a rather forceful working set trimming the process might not reclaim all of its pages as it might not need them at that exact moment. Still this doesn't mean it wouldn't need them in a very short while but if they had been moved to the standby page list and then given away to another process (zeroed first of course) then when the trimmed process decides to get its data back it won't find it and would have to issue a disk I/O.

Again: Windows also trims the working sets but not so aggresively.

In short: Windows is already trying to optimize its memory usage. It doesn't need additional optimizers for its own optimization. It's already designed for optimal performance. It has complete control over the physical memory and what gets put there. The actually bad memory leaks are the virtual memory leaks that occur in a process' private bytes. That's where Windows doesn't have control and if a memory leak occurs it could crash the program or even the system.

Interestingly enough, the author of CleanMem claims the real experts are the Windows programmers, yet he still feels the need to correct their work. Kind of ironic.

But if you really need such placebo programs to have your peace-of-mind, then use them. It's not like such tools are going away. Tons of people still clean the registry, use 3rd party defragmenters for their system drive under Windows Vista/7, clean the prefetch (XP), disable SuperFetch (Vista/7), etc. "Optimization" programs is here to stay because the masses are just too ready to believe they need them and need just a little nudge to start using them. It's sad really.

It's superstition versus logic, and we all know what wins in the end.

Last edited by Night_Raven : January 1st, 2011 at 02:06 PM.
  #13  
Old January 1st, 2011, 02:10 PM
Robin A. Robin A. is offline
Very Frequent Poster
 
Join Date: Feb 2006
Posts: 1,042
Default Re: HOw u reduce memory in Firefox?

Quote:
Originally Posted by sweater
... How can I reduce the memory consumptions of my Firefox browser, it v3.6.13. Sometimes memory print goes to 105,000k

As long as it does not affect other programs running simultaneously, memory usage is totally irrelevant to me. I use Chrome 10, it is currently using about 400MB (16 processes), everything is ok.
  #14  
Old January 1st, 2011, 02:27 PM
ALookingInView's Avatar
ALookingInView ALookingInView is offline
Frequent Poster
 
Join Date: Sep 2009
Posts: 365
Default Re: HOw u reduce memory in Firefox?

Quote:
Originally Posted by Robin A.
..everything is ok.
This. Memory micromanagement in 2011 seems mental.
__________________
...
  #15  
Old January 1st, 2011, 04:41 PM
Bambo Bambo is offline
Regular Poster
 
Join Date: Dec 2006
Posts: 194
Default Re: HOw u reduce memory in Firefox?

As long as program is stable and free who cares? In the world of optimization programs and forum tricks this is harmless I bet you can still find payware doing the "typical" memory cleaning - on popular download sites even.

But if 100mb usage for Firefox is alarming and must be dealt with it is time to read this http://lifehacker.com/5033518/debunk...tweaking-myths and this is on Lifehacker who does not hold back on tweaking tips. Recently they posted a complete nonsense article about just Firefox vs. speed/memory http://lifehacker.com/5687850/speed-...-disk-required I see a Mozilla dude has corrected them, nice they post voice of common sense and stuff any idiot could have looked up! - no change to article though Take small steps when seeing claims of boosting, tweaking and whatever sell tickets.
  #16  
Old January 1st, 2011, 05:12 PM
Baldrick's Avatar
Baldrick Baldrick is offline
Very Frequent Poster
 
Join Date: May 2002
Location: South Wales, UK
Posts: 1,281
Default Re: HOw u reduce memory in Firefox?

Quote:
Originally Posted by Night_Raven
Just because CleanMem isn't a typical memory cleaner/optimizer doesn't mean it's actually doing something worthwhile...It's superstition versus logic, and we all know what wins in the end.
I think that you miss the point with CleanMem...it complements Windows rather than attempting to replace anything it does...and in my experience it does save or reclaim some RAM. Not a lot but every little helps as good as Windows & is it is not, and never will be, perfect. It is stable, unobtrusive and does IMHO help.

__________________
KIS 2013 & Webroot SecureAnywhere Essentials 2013 ...once again the perfect combination!
  #17  
Old January 1st, 2011, 05:19 PM
Bambo Bambo is offline
Regular Poster
 
Join Date: Dec 2006
Posts: 194
Default Re: HOw u reduce memory in Firefox?

No smoke without a fire I seem to remember some who said anyone not loving and having full understanding for Superfetch on Vista anno 2006 were a moron. Why make Vista work like Xp Look it up on Technet dummy etc. etc. Somehow it just works so much better on Windows 7, heh. Now it has changed, is less aggressive, more intelligent, runs smoother, overall less hd thrashing - everyone is happy. I guess also the morons from 2006. Still called Superfetch but development take place all the time. Also be skeptical towards boring default settings and MS approved opinions.
  #18  
Old January 1st, 2011, 05:28 PM
GlobalForce's Avatar
GlobalForce GlobalForce is offline
Regular Poster
 
Join Date: Jun 2004
Location: Garden State, USA
Posts: 3,581
Lightbulb Re: HOw u reduce memory in Firefox?

Reducing memory usage and how to solve high memory and high cpu issues in Firefox are two pages written for YOU - Sweater.
  #19  
Old January 1st, 2011, 10:25 PM
Night_Raven Night_Raven is offline
Frequent Poster
 
Join Date: Apr 2006
Posts: 330
Default Re: HOw u reduce memory in Firefox?

Quote:
Originally Posted by Baldrick
I think that you miss the point with CleanMem...it complements Windows rather than attempting to replace anything it does...and in my experience it does save or reclaim some RAM. Not a lot but every little helps as good as Windows & is it is not, and never will be, perfect. It is stable, unobtrusive and does IMHO help.

And I think you didn't understand how memory manager works. Let me repeat the conclusion: Windows is already trying to optimize its memory usage. It doesn't need additional optimizers for its own optimization. It's already designed for optimal performance.
In other words: Windows doesn't need anything complementing its memory manager.
  #20  
Old January 2nd, 2011, 07:10 AM
Baldrick's Avatar
Baldrick Baldrick is offline
Very Frequent Poster
 
Join Date: May 2002
Location: South Wales, UK
Posts: 1,281
Default Re: HOw u reduce memory in Firefox?

Quote:
Originally Posted by Night_Raven
And I think you didn't understand how memory manager works. Let me repeat the conclusion: Windows is already trying to optimize its memory usage. It doesn't need additional optimizers for its own optimization. It's already designed for optimal performance.
In other words: Windows doesn't need anything complementing its memory manager.
And I think that I do...thank you! I am also going by what I see in terms of the effect of CleanMem on my systems so please don't lecture. We all have a right to our opinions and mine is that CleanMem makes a worthwhile difference. In the end it is for the likes of sweater (who started this thread) to make up his own mind based on what he reads in threads like these.

BTW...just because Windows tries to optimise does not necessarily mean that it succeeds all of the time...and therefore does not need help.
__________________
KIS 2013 & Webroot SecureAnywhere Essentials 2013 ...once again the perfect combination!
  #21  
Old January 2nd, 2011, 07:22 AM
PJC PJC is offline
Very Frequent Poster
 
Join Date: Feb 2010
Location: Internet
Posts: 2,962
Lightbulb Reduce memory in Firefox

Quote:
Originally Posted by nikanthpromod
there is an addon called memory fox. try it. It might help u

Fasterfox Lite
  #22  
Old January 2nd, 2011, 07:54 AM
dantz dantz is offline
Frequent Poster
 
Join Date: Jan 2007
Posts: 577
Default Re: HOw u reduce memory in Firefox?

Night Raven, thanks for your informative posts on Windows memory management.
  #23  
Old January 2nd, 2011, 02:38 PM
Night_Raven Night_Raven is offline
Frequent Poster
 
Join Date: Apr 2006
Posts: 330
Default Re: HOw u reduce memory in Firefox?

Quote:
Originally Posted by TOMxEU
Windows kind of sucks in optimization, even Microsoft admits it
May I have a link?

Quote:
Originally Posted by TOMxEU
Windows defragmentation takes days unlike 3rd party defragmenters with the same effect.
It's true that the built-in defragger is more sluggish but considering defragmentation needn't be done more than a few times a year it kind of makes it a moot point.

Quote:
Originally Posted by TOMxEU
Prefetch files can decrease performance, because they optimize, what Windows thinks, it is good for users, not what users really need, but it is great for an office computer.
If you think that then you don't really know what the Prefetcher does and what it is for. Its job is to decrease Windows and application loading times by using asynchrnous reading of the hard drive to load the necessary data as quickly as possible while booting the computer.
It's not about what Microsoft thinks is best but what gets launched at or shortly after the computer boot, and that depends on the user. It's not Microsoft that installs Skype, TuneUp, some antivirus software, etc. the user does that.

Quote:
Originally Posted by TOMxEU
SuperFetch actually causes lagging in games, because it holds RAM until the last moment and when the game needs it, it lets it go, but causing lag, tool like CleanMem might fix that.
SuperFetch is based on the Prefetcher. Its job is to apply the same principle to the entire work day/week. It monitors what gets launched at what time of day and week and loads the required files/data in advance so that when the time comes it's already in the RAM. The idea isn't to just consume memory for the heck of it. The idea is to be able to launch the user's applications by adapting to his/her habits.

Quote:
Originally Posted by TOMxEU
Actually I am surprised, that so little people care about PC's performance (gamers mostly, I guess). :/
I for one care a great deal about my system's performance. That's why I use very few security applications/methods for example, but choose them wisely so that I still get good security without sacrificing performance. That's also why I've informed myself as much as possible how Windows works, what affects the system's performance and how it affects it.

When optimization is concerned I'd say less is more. But if someone is happier with the placebo/lie, who am I to burst his/her bubble.
  #24  
Old January 2nd, 2011, 08:56 PM
SMC1979 SMC1979 is offline
Infrequent Poster
 
Join Date: Jan 2011
Posts: 5
Default Re: HOw u reduce memory in Firefox?

From CleanMems page
http://www.pcwintech.com/cleanmem

Quote:
Some facts about CleanMem (PLEASE READ):
1. CleanMem doesn't work magic on your system. The best thing you could do is get more memory for your system! The goal of CleanMem is to help keep windows from needing to rely heavily on the page file. Which is located on your hard drive.

2. You will NOT notice a night & day performance increase. The users who get the best performance out of CleanMem are the users who don't have a lot of memory. I know others would yell at them and say "well just buy more memory!" Well not everyone can run out and buy memory. CleanMem will help them until they do.

3. CleanMem is snake oil! Snake oil I say!...Not. So far the only people calling CleanMem snake oil are the users who don't bother trying it. I have one "memory expert" after another tell me one thing and say the other memory people are wrong! Its a war I don't want to fight and that no one will win. The true memory experts are the programmers of Windows, the programmers! And lets face it, they are not going to find their way to my corner of the web :-)

4. CleanMem WILL NOT make your system faster. What CleanMem does, again, is help avoid the use of the page file on the hard drive, which is where your slow down comes from. There have been users including my self who have noticed a smoother system. A placebo effect perhaps? Who knows. I do know that CleanMem hurts nothing, and does help, to a point.

5. CleanMem does help with programs that have memory leaks. The memory is pushed to the system cache, not the page file. The system cache is still in memory. And a program can call back what it needs instantly. This is why there is never a hiccup in heavy 3D games as CleanMem runs. The memory that is not reclaimed is freed and allowed to be taken over after a certain amount of time. The system cache is not a bad thing! and is far better than the page file. Mainly because it has the GB speeds in memory than the MB speeds of the hard drive.
(Warning: Memory Terminology in Windows is completely screwed. System Cache could mean something else, perhaps Memory Cache is better? as proof of this confusing way the memory has been labeled in windows, in Windows XP the PF usage in the task manager is actually commit charge, not page file usage)

6. CleanMem is FREE and is there for users who want it. Don't know if it will work or help? Try it! Don't take the word from others who don't bother trying it. If it doesn't help, or doesn't work then uninstall it, no harm done :-)

7. The CleanMem Mini Monitor uses the GlobalMemoryStatusEx API to pull memory and page file commit usage.
http://msdn.microsoft.com/en-us/libr...=vs.85%29.aspx

And to Night_Raven, no I will not get into a debate over how my CleanMem program is snake oil or not.

As you have seen users who try it have had success with it.

The trick to cleanmem is not the programs using less memory. The trick is keeping windows from using the page file on the hard drive.

So yell snake oil all you want. How someone has the balls to shoot down a free program without touching it is no different than the people who use to jail people who said the earth isn't flat

The standby, or system cache, or memory cache or what ever you want to call it stays in memory. Memory is FAR faster than the hard drive.

Lets say I have a memory leak in a program. All that memory will be pushed to standby. If it needs it back it has it, instantly. Anything it doesn't ask for back gets freed up to the system.

Thats it, no magic, no nothing. This is how Windows handles it, Windows is doing all the work.

My mentor wrote books for Microsoft and beat it into my head how important it was for a programmer to clean up after himself in code.

Windows will only handle memory cleanup when it needs to and not till then. Other wise it is up the programmers to get their code clean.

If Windows handle memory perfectly like you think then there would be no such thing as memory leaks. Cleanmem is simply giving the user to option to have windows do its job instead of waiting for the memory to be used up before windows kicks in.

As I said, this is a war no one is going to win and that I will not fight with. You have so called memory experts calling foul every time they even hear cleanmem.

I am NOT a memory expert. I go by what I was taught, and by RESULTS.

I will not fight to the death for cleanmem. It comes down to this,
Try it, it helps? good! It doesn't help? get rid of it. No harm done.

So if I wont fight over cleanmem then why am I posting here?

To make both sides, those for and against cleanmem understand how it works.

I think the fire over this comes from people says cleanmem itself makes the system faster, which in turn ticks the crap off of people who know that just because a program uses less memory doesn't make it faster.

It all comes down to trying to keep windows from using the hard drive. The bottle neck of every system.

That was the whole reason I made it for my customers in the first place.

-Shane
  #25  
Old January 2nd, 2011, 09:46 PM
Night_Raven Night_Raven is offline
Frequent Poster
 
Join Date: Apr 2006
Posts: 330
Default Re: HOw u reduce memory in Firefox?

This just goes to show that you didn't actually read my posts. I *did* try the program and saw what it does. All you did is simply quote the program's website and then repeat a few of the quoted things below the quote as well. I still see no techincal explanation as to how forcibly pushing more pages than needed at the time to the standby page list helps to reduce writing to the hard drive.

A more efficient way of keeping more memory available for applications would be to chose one's software wisely and to not allow a lot of useless processes to remain resident. Autoruns can be used to check what get's started and simply disable the unneeded stuff.
 

Wilders Security Forums > Software, Hardware and General Services > other software & services « Previous Thread | Next Thread »

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 01:53 PM.


Powered by vBulletin® Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright ©2002 - 2013, Wilders Security Forums