I have a laptop that I've been using for work:
Model: ASUS X501A CPU: Intel Celeron, 2.4 dual core. RAM: 4GB
And I recently started to get freezes when I open a bit too many programs or tabs in Chromium. I previously used Deepin (had same issues) and I switched to Debian 9 thinking it would help, but it didn't.
Now, you are probably thinking, well that laptop is weak and probably old, no wonder it freezes. Well first of all, it wasn't like that before, while it's not powerful, I could without any freezes have all my necessary programs open (Chrome, VS code, spotify, running a nodejs server, mongodb or sql server, redis, postman). Secondly, I don't get this freezes with Windows, it might open some programs longer, but it would not freeze for up to a minute like it does on Debian.
Now, Debian already chugs when I have 4 Chromium tabs open (usually just stackOverflow or api docs tabs, not cpu intensive sites), running a NodeSJ server in a terminal and having VS code with Postman open (no database servers). I ran
top while under this conditions and the results were:
top - 12:43:51 up 4:02, 1 user, load average: 2.70, 1.07, 1.19 Tasks: 191 total, 1 running, 190 sleeping, 0 stopped, 0 zombie %Cpu(s): 14.4 us, 2.0 sy, 0.0 ni, 19.9 id, 63.5 wa, 0.0 hi, 0.2 si, 0 KiB Mem : 3934392 total, 129524 free, 3133232 used, 671636 buff/cach KiB Swap: 0 total, 0 free, 0 used. 104836 avail Mem
It seems that the CPU is not loaded at all, and there is still enough free memory left (well at least its not at 95% memory use). So i'm not sure what causes those freezes.