How to tell if need more ram?

redss

Distinguished
Jun 7, 2003
141
0
18,680
Whatever browser I use (chrome, firefox) crashes often. How can I tell if the crashes are due to too little memory?

I suspect low memory because it's only got 1.5 Gigs ram running a live usb version of ubuntu 10.04.

I know of utilities like free and top, just dont know how to pinpoint ram issues with them.
 
There are multiple commands that will tell you memory usage. As a basic overview, I use `free -m`. If you are using a lot of swap space all the time, it's probably time to add more memory.
 
As said before, if you are using excessive swap space then it should be time to think about getting more RAM. Since writing to a disk is much slower then writing to memory.

Though if just those two applications are crashing, run them from the terminal and output the error and see what is going on.

Also, I prefer HTOP, it does the same thing as the top command, it just looks prettier 😛