DEV Community

rahuldev-17
rahuldev-17

Posted on

nix VPS running out of memory?

Note to me: If your VPS is running out memory while installing another application, then quick fix:

  • check disk usage:
$df -h
Enter fullscreen mode Exit fullscreen mode
  • find files greater than 500MB
sudo find / -type f -size +500M -exec ls -lh {} \;

Enter fullscreen mode Exit fullscreen mode

If you understand and are sure of what files are not being used by you, database or system, remove them.

Top comments (0)

Speedy emails, satisfied customers

Postmark Image

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay