Good afternoon. After a long break, I decided to start using manjaro again. But I found an annoying problem - it freezes when the RAM is full. As far as I remember, manjaro killed the process itself and freed up the memory. But this does not happen on a fresh installation.
Which service should do this? What should be checked?
Kernel 6.18.3-2
Last update.
The kernel does this but it waits too long, that’s why your system is stuttering.
There is others, but i use earlyooem as ooem-killer, works flawlessly (it’s in the repo)
If you don’t have much ram, you should perhaps look at zram too.
Welcome to the forum! ![]()
That is to be expected, yes.
That is also to be expected, yes.
The thing is that due to caching, more virtual memory will be in use over time. However, this is only cache, and the kernel will drop cache and free up the used RAM as needed.
On the other hand, certain applications do require a lot of working memory — browsers being the biggest culprit, albeit not the only one. An additional problem in that regard is that some applications may have memory leaks, i.e. they consume virtual memory but do not release it again.
There are however a couple of rules-of-thumb to keep in mind. ![]()
-
If the machine has less than 16 GiB of RAM, then you should create a swap partition or swap file. A swap file is more flexible than a dedicated swap partition, but the latter is actually the better approach.
-
Your swap device should be at least the size of your RAM, and twice that much if you plan on hibernating the machine — i.e. suspend-to-disk.
The kernel does that itself when it runs out of virtual memory.
You could use top — which is a console tool — or, depending on what desktop environment you’re using, your desktop environment’s graphical system monitor application. It should tell you how much virtual memory each process is consuming.
But he doesn’t do that.
Windows kills the leaking process almost immediately and I don’t need to reboot. At the same time, with my memory full, I can still do something.
In the latest manjaro, it just freezes.
You could use — which is a console tool — or, depending on what desktop environment you’re using, your desktop environment’s graphical system monitor application. It should tell you how much virtual memory each process is consuming top.
Lol, why should I look at the full memory? How do I make sure that oom is working?
LOL, at the moment everyone is just guessing.
Please supply the following information
inxi -zv8
place the terminal results from this command inside the </> button.
Welcome to the forum! ![]()
Please edit your topic title to something a little bit more comprehensible. Perhaps something like, System freezes when the RAM is full.
Please see:
As far as the issue at hand, here is a related Arch Wiki article for more info:
Improving Performance: Improving system responsiveness under low-memory conditions
Thnx for the wiki link.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.