1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Firefox memory leaks

Discussion in 'Linux & Open Source' started by Spuderoony, 9 Jul 2006.

  1. Spuderoony

    Wise Guy

    Joined: 15 Jan 2004

    Posts: 1,382

    Location: Doncaster

    Is there any way to stop these?

    If I start Firefox at 10am, by about 2pm it's gone from using about 60mb of memory to using about 360mb.
  2. EKsparky


    Joined: 16 Sep 2005

    Posts: 93

    Last edited: 9 Jul 2006
  3. ballistic


    Joined: 15 May 2006

    Posts: 2,278

    no way to stop it
  4. myriad


    Joined: 17 Nov 2003

    Posts: 270

    It doesn't have memory leaks, it has a cache, each page you load is put into it, and yes you can stop it by reducing the size of said cache:

    1. Open a new tab. Type "about:config" without quotes into the address bar and hit enter/click Go.

    2. Right-click anywhere, select New, then Integer. In the dialog prompt that appears, type:


    3. Click OK. Another dialog prompt will appear. This is where you decide how much memory to allocate to Firefox. This depends on how much RAM your computer has, but generally you don't want to allocate too little (under 8MB), but if you allocate too much, you might as well not do this. A good recommended setting is 16MB. If you want 16MB, enter this value into the dialog prompt:


    (Why 16384 instead of 16000? Because computers use base-12 counting. Thus 16 megabytes = 16384 bytes. Likewise, if you want to double that and allocate 32MB, you'd enter 32768.)

    4. Click OK to close the dialog box, then close all instances of Firefox and restart. If your Firefox still uses the same amount of memory, give it a few minutes and it should slowly clear up. If that fails, try a system reboot.

    source: http://www.freerepublic.com/focus/f-bloggers/1327586/posts