Reading Memory Usage and System Load on Debian

Begin with a measurement
A slow desktop or service does not automatically mean the computer needs more memory. Inspect the current workload and determine whether the bottleneck is processor time, storage latency or memory pressure. The free -h command provides a summary of memory; tools such as top and vmstat help show activity over time. Take measurements during the actual slowdown rather than after it has disappeared.
Interpret cache and swap carefully
Linux uses available memory to cache file data, so a small value in the free column is not necessarily a problem. Look at available memory and signs of sustained swapping instead. Swap activity can also have different consequences on a server and an interactive desktop. Do not disable swap or terminate a process solely on the basis of one reading.
Match the remedy to the workload
Compare several measurements, identify which applications are consuming resources, and consider their purpose before reducing their limits. A lighter desktop or fewer background services may help an older computer. A service under legitimate demand may need more capacity instead. Record the baseline and test again after any change so the improvement can be distinguished from ordinary variation.
For related context, read hardware planning for Debian. Visit the Debian Planet homepage for more guides.