čtvrtek 31. prosince 2009

Ladění Firefoxu

Defragmentaci obsahu databázových souborů v uživatelském profilu Firefoxu. Jak provést optimalizaci těchto souborů přímo z prostředí Firefoxu. Jednoduše postačí otevřít Chybovou konzoli, kterou naleznete v nabídce Nástroje a do textového pole vedle Kód: zadáte následující řetězec:
Components.classes["@mozilla.org/browser/nav-history-service;1"]
.getService(Components.interfaces.nsPIPlacesDatabase)
.DBConnection.executeSimpleSQL("VACUUM");

Poté jen stačí klepnout na tlačítko Vyhodnotit a chvíli počkat.



http://jasnapaka.bloguje.cz/805826-zrychleni-firefoxu-defragmentaci-souboru-snadneji.php

4. Omezení využití RAM:
If Firefox takes up too much memory on your computer, you can limit the amount of RAM it is allowed to us. Go to about:config, filter “browser.cache” and select “browser.cache.disk.capacity”. It’s set to 50000, but you can lower it, depending on how much memory you have. Try 15000 if you have between 512MB and 1GB.

5. Reduce RAM usage further for when Firefox is minimized: This setting will move Firefox to your hard drive when you minimize it, taking up much less memory. And there is no noticeable difference in speed when you restore Firefox, so it’s definitely worth a go. Again, go to about:config, right-click anywhere and select New-> Boolean. Name it “config.trim_on_minimize” and set it to TRUE. You have to restart Firefox for these settings to take effect.

Zdroj: http://www.hungry-hackers.com/2009/12/8-hidden-firefox-secrets-revealed.html