Skip to main content

Questions tagged [out-of-memory]

14 votes
1 answer
1k views

This question comes from my curiosity about how Kubernetes handles resource requests and limits, especially memory constraints defined for pods. I understand that Kubernetes uses cgroups under the ...
Nicola Sergio's user avatar
4 votes
2 answers
257 views

On Linux, it's possible to disable overcommitting memory which makes it behave like Windows, in that malloc() will fail once all physical memory is used up. As explained in this insightful and good ...
E. K.'s user avatar
  • 153
0 votes
0 answers
283 views

I am working on a laptop with 16 GB of non-upgradable RAM on Linux Mint 22, kernel 6.8.0-63-generic #66-Ubuntu. I created a 32 GB swap partition on my NVMe drive with a high swappiness value [note1] ...
Fritz's user avatar
  • 748
1 vote
1 answer
237 views

I tested out echo 2 > /proc/sys/vm/overcommit_memory, which I know isn't a commonly used or recommended mode, but for various reasons it could be beneficial for some of my workloads. However, when ...
E. K.'s user avatar
  • 153
4 votes
0 answers
120 views

I’ve had mysterious memory usage on a Thinkpad E495 for the longest time. Starting with Ubuntu 20.04, through several Ubuntu versions with default kernels and xanmod kernels and now under openSUSE ...
Michael's user avatar
  • 190
3 votes
0 answers
76 views

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 ...
Mathias Sven's user avatar
0 votes
0 answers
22 views

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-...
MikiBelavista's user avatar
1 vote
0 answers
87 views

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. ...
wangt13's user avatar
  • 651
0 votes
0 answers
58 views

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, ...
abyss.7's user avatar
  • 189
0 votes
0 answers
44 views

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 ...
alex miranda's user avatar
0 votes
2 answers
683 views

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 ...
eagle007's user avatar
1 vote
0 answers
175 views

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 ...
FliegendeWurst's user avatar
0 votes
1 answer
135 views

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 ...
John Carter's user avatar
0 votes
1 answer
179 views

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, ...
Amir reza Riahi's user avatar
7 votes
1 answer
948 views

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 ...
αғsнιη's user avatar
  • 41.9k

15 30 50 per page
1
2 3 4 5
15