0

Distro - Ubuntu 20.04.2 LTS x86_64 System Specs - RAM: 8G CPU: AMD Ryzen 5 3550H with Radeon V GPU: AMD ATI 05:00.0 Picasso GPU: NVIDIA GeForce GTX 1650 Mobile

Running only android studio works just fine but when i try to just open my firefox it becomes too much for the system and it makes the whole system slow like can't even open my terminal. I have to press and hold my power button to shutdown and reboot.

enter image description here

top You can see here the %CPU is 600.3 which is insane!!! enter image description here

enter image description here

2
  • 1
    Can you edit your question to include the output of free -m? Knowing a bit more about your system memory information will help 👍🏻
    – matigo
    Jun 7, 2021 at 23:26
  • @matigo now good? Jun 8, 2021 at 20:06

1 Answer 1

0

I Had the same problem. Add a dedicated swap file or partition of 2x ram.

In my case was solved by adding 16G of swap and later I bought more ram.

try...

sudo dd if=/dev/zero of=/swapfile bs=1MiB count=$((16*1024))
sudo mkswap /swapfile
sudo swapon /swapfile

then add a line to /etc/fstab like this

/swapfile swap swap defaults 0 0

try it. regards.

1
  • I am getting this error - swapon: /swapfile: swapon failed: Invalid argument Jun 10, 2021 at 6:37

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .