On linux you can use different tools like the top command to view the memory usage of all processes.
This top command has different options bound to the keyboard.
Here are some:
To change the sort to Memory, you can press shift M
to change the process scaling you can press small “e”
to hange for the global view you can press shift “e“