One observation that just came to me is the issue again copied below is relating to increasing swap is as a partition in 20.04 but as you can see I do not have a swap partition but I have a 2GB something...file? Also a couple of screenshots from system monitor. It seems that swap has plenty of memory, at least as I run four applications open and hidden process. Maybe they are of some help? Thanks Brian
0
yes Ubuntu 20.04 hangs freeze although I have 8 GB of Ram and i7
I could temporary fix this issue in my side, by expanding swap partition from 2 GB to 16 GB
I am not sure but I think there is problem in Ubuntu 20.04 memory management, here in my side it keep consuming memory, then when both memory and swap are full, the computer start to freeze and hang
the solution steps are:
1- check the amount of swap you have
|grep SwapTotal /proc/meminfo |
2-turn off the swap process
|sudo swapoff -a |
3-resize the swap(in my case i expand it to 16 gb)
|sudo dd if=/dev/zero of=/swapfile bs=1G count=16 |
4- attach the swap to partition
|sudo mkswap /swapfile |
5- activate swap(enable it)
|sudo swapon /swapfile |
6- see the new swap size
|grep SwapTotal /proc/meminfo |
done
-- _______________________________________________ nmglug mailing list nmglug@lists.nmglug.org <mailto:nmglug@lists.nmglug.org> http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org
_______________________________________________ nmglug mailing list nmglug@lists.nmglug.org http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org
--
_______________________________________________ nmglug mailing list nmglug@lists.nmglug.org http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org --