Quantcast
Channel: Active questions tagged 22.04 - Ask Ubuntu
Viewing all articles
Browse latest Browse all 4437

How can I prevent the my Computer with Ubuntu to freeze because of 100% Ram usage?

$
0
0

I have a computer withDescription: Ubuntu 22.04.4 LTSRelease: 22.04Codename: jammyRAM: 33GBRAM SWAP: 1GBCPU 12 virtual cores (enough)

Now every other day my RAM usage spikes at 100% including swap and starts to freeze.(CPU usage also spike during that time, shortly after RAM hitting 100%)

Usually, because some Browser uses like 20% of the RAM.And yes I worked for a while now by simply closing the browser or killing its process when I notice the system lags.

But it starts to annoy me since I can't think of a time when I had this problem with Windows.

What I want is that I can work without some application using all RAM and the system freezing.I also still want to use Ubuntu like a normal person and not start the browser in some weird way like cgroup-tools.

My best idea was to reserve resources for the system to run, and to kick programs (and browser tabs) out of the RAM if they weren't used for a while.

Is there a user-friendly way to achieve something like this? Because I don't think adding more RAM is solving the problem.Also, I don't care if one application is unresponsive, as long as I can restart it.

I can handle difficult setups but after that, I don't want to think about how to start programs or do some terminal magic every day, where I need to remember precise commands.


Viewing all articles
Browse latest Browse all 4437

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>