[kwlug-disc] Memory Issue

amitoj singh amitojsingh95 at gmail.com
Sat Feb 9 18:01:58 EST 2019

On Sat, Feb 9, 2019 at 5:18 PM Khalid Baheyeldin <kb at 2bits.com> wrote:
> From the htop output, you can see that your memory is full, and there
> is A LOT of swapping going on.
> Any machine that is swapping will be unresponsive.
> We need to know what is using the most memory.
> To do that, start htop, then press F6, then choose M_RESIDENT.
> The result will be sorted by the RES column (resident set size).

Here is the outputs:
after doing this. Also, This I attached a screenshot of $top command.
I wonder their are more than one instance of atom with different PID.
Why so?
have a look.

> See what application is using the most RAM.
> Try again the following:
> 1. Reboot, so swap is completely cleared.
> Before running anything, measure memory as above.
> 2. Then enter this command:
> $ sudo sysctl vm.swappiness=5

 Previously, my whole laptop gets hanged but after doing this only my
editor is facing a problem.

> 3. Then try again to run Atom, and see how much memory is being used, and by what.

"If you think you can then you definitely can."
Amitoj singh

More information about the kwlug-disc mailing list