Questions tagged [out-of-memory]
The out-of-memory tag has no summary.
221 questions
3votes
0answers
40views
Implement a recovery virtual console for a hanged system
This might be a duplicate of "reserve memory for a set of processes", but I think my question is a little broader. I have a system that likes to hang a lot. I tend to use a lot of browser ...
0votes
0answers
12views
How to solve Out of memory on AKS?
I am running CircleCI jobs and got an 137 error. I checked k logs pod/dzapi-66d6b9cb-l995w -n simm Error from server (BadRequest): container "dzapi-solution" in pod "dzapi-solution-...
1vote
0answers
51views
Weird behavior: Does libasan consume system memory constantly in Linux?
I am working on an embedded Linux system (kernel-5.10), and the cross GCC only supports -fsanitize=address for address sanitizer. Then I built a testing program with -fsanitize=address and -lasan. ...
0votes
0answers
45views
How to setup memory cgroup with OOM killer enabled?
I did the following: mkdir /sys/fs/cgroup/memory/test echo 32212254720 > /sys/fs/cgroup/memory/test/memory.limit_in_bytes cgexec -g memory:test … But when the cgroup's memory is almost fully used, ...
0votes
0answers
35views
Solaris 10 g++ virtual memory exhausted
I am trying to use the cm3-unix64le-d5.11.1-20210610 from the Modula 3 github. i am running the .cpp file and I get a virtual memory exhausted: Not enough space error. I have 16GB of RAM and I'm ...
0votes
2answers
216views
How to use vm.overcommit_memory=1 without getting system hung?
I am using vm.overcommit_memory=1 on my linux system which has been helpful to allow starting multiple applications which otherwise wouldn't even start with default value of 0, however, sometimes my ...
1vote
0answers
76views
How to make the OOM killer target processes with high nice values?
I would like to know how to configure the OOM killer to first kill processes that have a high nice value. My usecase for this is that I have some background processes where I don't mind them getting ...
0votes
1answer
55views
How to use systemd-run to isolate the rest of the system from a rogue program triggering the oom killer
I'm wanting to use cgroups and systemd-run to insulate the rest of my system from rogue programs that wake the OOM killer. In particular, clangd is hogging all my memory and then some, and then ...
0votes
1answer
140views
Why oom_score of a cat command in terminal is less than my window manager?
For experimenting, I was seeing oom_score of some of processes in my computer. The oom_score of a cat command is 666 but oom_scoreof my window manager (which is i3) is 667. If I understood correctly, ...
7votes
1answer
832views
grep command fails with out-of-memory error
I encountered an OOM issue (this happens every-time I execute it) on running grep -Fxvf file1 file2 file1 size: ~200MB file2 size: ~300MB number of records in each file: ~300K avg records length: ~1K ...
1vote
1answer
67views
Is there a log for processes that request too much GPU memory on Linux for NVidia GPUs?
I would like to find a history for Nvidia GPUs where I can see when a process given by PID has requested GPU memory and it failed because of lack of available GPU memory. System would be Rocky 9 and ...
0votes
0answers
83views
Using overcommit_memory = 2 crashes a Postgres container
I have a device that has Debian 11 installed, on which Docker is running. On boot, it starts the Docker Daemon and the nine containers. Eight of them are executing a C# program and the last one is a ...
1vote
2answers
1kviews
Why is mariadb.service not restarted by systemd after OOM kill
The mysql.service got killed by the OOM killer. While investigating the root cause I wanted to change the unit configuration to restart if killed. I was surprised to find Restart=on-abort already in ...
0votes
1answer
150views
How to analyse cause of memory usage not shown by htop
How can I best debug the following issue from here on? I have a python application running in a podman container which has plenty disk I/O due to a numpy memmap of two huge files, one input file ...
0votes
2answers
217views
Why is Linux not using RAM but only Swap?
How can such an output of free -m be explained? total used free shared buff/cache available Mem: 32036 1012 225 3 8400 ...