I know there are tones of information about how and what to use to analyze the memory usage on linux.

However I’m publishing some useful ones that can be helpful to start with:

Display amount of free and used memory

free -m

Display swap usage summary

swapon -s

Display user-process resource limits

ulimit -a

List processes sorted by memory usage

ps aux –sort -rss