Out of memory: Killed process
Sebastian Wright
i got Out of memory: Killed process 24502 (python) total-vm:19568804kB, anon-rss:14542148kB, file-rss:4kB, shmem-rss:0kB, UID:1000 pgtables:31232kB oom_score_adj:0
used this command dmesg
how can I increase the size of the memory instead of buying a new ram?
i have
total used free shared buff/cache available
Mem: 15G 1.8G 13G 202M 711M 13G
Swap: 4.0G 1.6G 2.4GI have a laptop with RTX 2060 Ram 16 Gb .. how can I use it for this problem?
01 Answer
Your output shows that Python consumed 14.5G of memory (all of your RAM, and deep into your Swap) before the kernel killed it to protect you.
Most likely, there is a bug in your script or module.
Less likely, you are using that application for a purpose that it was not designed for (if so, stop).
4