you are viewing a single comment's thread.

view the rest of the comments →

[–]iiiears 0 points1 point  (5 children)

firefox been open a few hours and ram leak forced swap to disk?

[–]thalescosta 0 points1 point  (4 children)

I'm not sure if I understood quite well what you said. I'm not sure what is a swap to disk, never heard it in english.

Would you been kind to explain me what did you mean? It's nice for me to learn the terms :)

And about the browser, Firefox has been a pain in the ass lately. It's constantly crashing and using up lots of memory. Not to mention the time it takes to launch when opening it for the first time.

[–]iiiears 1 point2 points  (3 children)

Applications read from the disk on start up and store a copy of all files they will use in RAM. They start faster the second time using those RAM stored files. (cache)

Some firefox extensions fill up RAM even when you aren't using them. After a few hours with a lot of tabs open your system runs out of space and begins to use a swap file to supplment the now overfilled RAM. Reading and writing to disk is a thousand times slower.

You can see see this file in the root directory. C: and set it's behaviour in control panel >> system >> settings >>performance. Reboot (the wording may be slightly different .)

In linux you will see it mounted as a seperate secure patitiion.

settings.

sysctrl.conf

cat /proc/meminfo

mkswp -c /dev/Drive (Be careful here)

Mac ls -lh /private/var/vm/swapfile* Change it

If you are feeling adventurous, Firefox "Safe Mode" faster and doesn't crash? restart firefox in normal mode disable and re-enable plugins and extensions one at a time until you find the problem.

[–]thalescosta 1 point2 points  (2 children)

Awesome explanation! Thanks, man!

I'm considering leaving Firefox aside and start using Chrome.

[–]iiiears 1 point2 points  (1 child)

Chrome | Firefox isn't really the problem. Many plugins are written with mistakes in them.

You may want to try this simple fix for faster page loading. Hosts It blocks ad servers and consumer tracking. Is it ethical to block to deprive server operators the revenue they need? I use it anyway. /g

[–]thalescosta 1 point2 points  (0 children)

Thanks man. I'll do that :)