I experience constant laptop freezing. The cycle is :
Open Chrome, NetBeans (JAVA IDE). Put computer to SLEEP. Recover from sleep.. Keep using Chrome, and BAM.
What happens: SWAP is never cleaned. RAM CACHE fills up , and fills up ALL SWAP.
When SWAP reaches 100% AND RAM reaches 100 % Computer locks up, and i have to do hard restart.
When RAM reaches 100% theres is couple seconds freeze:
pci_bus 0000:05: Allocating resources
Laptop has: 8GB of ram, 8.8 GB of SWAP
Why my system fails to clear SWAP / Cache ?
TOP result: https://ibb.co/iWCaQd