Chromebook & Linux

Linux system slows down and complains about low memory

Frequent low-memory warnings or heavy swapping usually mean too little RAM or swap for your workload, not a fault. Adding swap space is a quick, free fix.

Difficulty
Intermediate
Time
15–40 minutes
DIY cost
$0–$60
Pro cost
$70–$150

Symptoms

  • System becomes very slow under normal use
  • 'Out of memory' messages or app crashes
  • Heavy disk activity light with no obvious cause
  • 'free -h' shows very little available memory

Likely causes

  • CommonToo little RAM for current workloadModern browsers and apps can use more memory than older or budget systems have installed.
  • CommonNo swap space configured, or too littleWithout swap, the system has no overflow space when RAM fills up, causing crashes instead of slowdown.
  • PossibleA memory leak in a specific applicationA buggy app can keep consuming more memory the longer it runs.

What to do

  1. Run 'free -h' in a terminal to see total RAM, used memory, and existing swap.
  2. Close unnecessary browser tabs and apps to immediately free some memory.
  3. If swap is small or absent, create a swap file: 'sudo fallocate -l 4G /swapfile && sudo chmod 600 /swapfile && sudo mkswap /swapfile && sudo swapon /swapfile'.
  4. Make it permanent by adding it to /etc/fstab as instructed in your distribution's documentation.
  5. Use 'htop' to watch memory usage over time and identify if one specific app keeps growing (a leak) rather than general heavy use.
  6. If RAM is consistently maxed out during normal tasks, consider a physical RAM upgrade if your device supports it.

Tools and parts

  • Terminal access with sudo privileges
Laptop/desktop RAM moduleSearch: “laptop RAM upgrade compatible with [model]”

When to call a pro

If a RAM upgrade is needed and you're not comfortable opening the case, a technician can install it.

Safety

Generally low risk

Generally low risk for a careful person. Stop if anything looks different from what this guide describes.

Related guides

Operator provides AI-generated troubleshooting information. It can be wrong. For safety-critical, electrical, gas, structural, medical, automotive safety, or other high-risk problems, consult a qualified professional.