Questions tagged [memory-leaks]
The memory-leaks tag has no usage guidance.
58
questions
1
vote
0
answers
46
views
Linux (Mint) eats all my RAM
I know, there are plenty of "Linux eat my RAM" threads all over the internet, but they can't help me to solve my problem.
(I had a try with this question on askubuntu but I'm off-chart with ...
0
votes
0
answers
31
views
Weird behaviour of OpenSSH server eating slowly all the available memory
I have a machine running a pgbouncer server and an Open SSH server so clients can enstabilish a tunnel to the server and connect to the database.
Now all the clients keep the connection alive for ...
3
votes
0
answers
91
views
Opening powershell remote sessions in a loop in linux leaks memory
I am stuck with the following problem: we have an app that runs an continuous loop opening remote connection via powershell (performing some actions and then closing). This works fine in a Windows ...
0
votes
1
answer
790
views
Identify high memory allocator / leaking process in Linux causing oom (out of memory) kernel killing processes
I have come across plenty of info on oom in general but not much to identify the root cause of the issue. OOm killer kills processes based on its scoring but the process it kills need not be the one ...
1
vote
2
answers
169
views
Clean RAM after some days of PC usage
I have 8GB RAM, and use my PC (Debian 10, KDE plasma 5.14.5) "normally" but with many programs running in parallel:
Firefox (≈ 250 Tabs)
Chromium (10 Tabs)
Thunderbird
10x Okular
2x Pycharm
...
1
vote
0
answers
94
views
Hyper-V excessive Memory Demand with static memory
I have Gen 2 VM with Debian 10.5 in a Hyper-V(2019) host. Currently its running a web app which does not use much memory (the system monitor shows its using 2GB out of 8GB), but the memory demand ...
0
votes
1
answer
333
views
Xorg taking huge amounts of memory
Lately, there is a lot of memory leak on my (Arch) Linux laptop. A command named Xorg -nolisten tcp :0 vt1 --keeptty -auth /tmp/serverauth.mWgFYYiRdF is continually taking 27.2 % of my 8GB RAM (also ...
1
vote
0
answers
32
views
Centos show unexpected behavior when run a time consuming command
I have had a problem with my centOS for a long time and I search all off the internet and not found anything helpful.
My problem is when I run some commands like python manage.py makemigrations (this ...
13
votes
3
answers
19k
views
Python programs suddenly get killed
I'm running some python programs that are quite heavy. I've been running this script for several weeks now, but in the past couple of days, the program gets killed with the message:
Killed
I tried ...
1
vote
0
answers
202
views
How to control the D-Bus daemon virtual memory usage?
I am currently trying the D-Bus sample codes from the following link:
https://linoxide.com/how-tos/d-bus-ipc-mechanism-linux/
It worked.
Then I performed the exhaustion tests on the sample code above ...
5
votes
1
answer
1k
views
How can I trigger Firefox memory cleanup from the terminal?
Does anyone know how to initiate the garbage collection and memory reduction in Firefox (about:memory > Free memory > GC/CC/Minimize memory usage) from the terminal? This browser is using way to ...
1
vote
1
answer
97
views
Available memory drops with usage, and closing applications/restarting X doesn't regain it
I'm aware that the kernel uses memory for caches, but that that memory is available to
user applications on demand. In claiming that memory is "missing" I am refering to
the "available&...
0
votes
0
answers
28
views
Seelnium crashes since RAM is not enough... but what is RAM used for?
We run Selenium (JAVA) with headless Chrome. This all takes about 300 MB RAM.
VPS has 1 GB RAM but selenium "crushes":
Exception in thread "pool-1-thread-115" org.openqa.selenium....
2
votes
0
answers
90
views
why does atril keep webkit2gtk-4.0 processes with ~100GB virtual memory?
I'm using the Cinnamon desktop environment on Devuan GNU/Linux Beowulf (like Debian Buster but without systemd).
I've just brought down all of my browser and other significant apps, but - leaving a ...
2
votes
0
answers
465
views
Is this a kernel memory leak? (Excess Active/Inactive pages v Cache)
I have a machine that leaks memory (even after an application restart) - two machines run similar applications with similar workloads, slightly different kernel revisions of 4.x
The noticeable ...
5
votes
0
answers
654
views
Possible xorg memory leak
My problem in one picture :
The memory usage of xorg as a child process of sddm keeps growing with time.
Everytime I restart my computer, the problem reappears after a few dozens of minutes.
I tried ...
3
votes
1
answer
695
views
What happens to memory that wasn't freed in a kernel module after unloading?
Suppose I called kmalloc and didn't free that memory before rmmod was called on the module, what happens to that memory? Is it a memory leak and it is completely unusable until restart, or does the ...
2
votes
0
answers
251
views
Cache Memory Leak (or looks like one) slows down a program
I have a strange problem that looks like a Memory Cache Leak (not a memory leak) leading to a slow down of a program.
Let me set the stage first. Reproducibly (using ganglia to monitor), on a cluster ...
0
votes
1
answer
1k
views
Garbage collect my gnome-shell memory!
I use Gnome/Wayland (Fedora distro) almost exclusively and enjoy its features. However, gnome-shell consistently consumes more and more memory as a result of it not releasing unused memory. ...
0
votes
1
answer
352
views
Linux is consuming lot more menory than RSS output
Below are the output of free -g and ps -aux. free indicates 35G of RAM being used, but I don't see how the ps output might be showing me what processes exactly are consuming the most memory.
...
2
votes
2
answers
913
views
Why the kernel doesn't stop processes starving the resources?
I'm running a linux box(ubuntu) and every few months it freezes and I'm left with no choice(SysRq-F and other keyboard shortcuts are not working) but to reboot it losing all the data.
I'm wondering ...
11
votes
1
answer
2k
views
How to mitigate Spectre and Meltdown kernel memory leaking CPU bug on OpenBSD?
Kernel-memory-leaking Intel processor design flaw forces Linux, Windows redesign
and
Reading privileged memory with a side-channel
In recent news people could read about a kernel memory leaking CPU ...
3
votes
1
answer
1k
views
How to fix mbuf exhaustion under FreeBSD 10?
A FreeBSD server which was recently upgraded from FreeBSD 10.3-STABLE to FreeBSD 10.3-RELEASE-p21 is exhibiting mbuf exhaustion. Under the course of normal operation, we see mbuf usage steadily ...
3
votes
1
answer
2k
views
How can the OOM killer kill ulimit(ed) process?
I'm playing with MongoDB clusters. After few OOM killers, I decided to ulimit mongoDB with memory to 4G of RAM.
After few hours, it was killed again with OOM.
So my question is not about MongoDB, it's ...
2
votes
1
answer
10k
views
How to troubleshoot what eats memory?
I'm trying to figure out why memory consumption started to constantly increase on my server during the last hours. I've tried to find the cause on the application level, but no success. That is why ...
3
votes
3
answers
9k
views
kernel eats memory, but never release
I know, this is the 1000th question about the same topic. I've spent days reading so many threads, but I still could not find an answer to my weird situation.
When I did have 16GB of RAM on my ...
3
votes
1
answer
4k
views
Why does evolution-calendar-factory uses so much virtual memory?
In Debian Jessie 64-bit with Gnome 3.14.1, System Monitor shows evolution-calendar-factory process is using 1.1 GiB, and evolution-alarm-notify is using 826.6 MiB of virtual memory. I don't use no ...
1
vote
0
answers
363
views
ksmserver takes a lot of memory
For some reason ksmserver started to take huge amount of memory (1.6 Gb at the moment). The longer the uptime the more it takes. Seems like a memory leakage for me. Unfortunately, I didn't notice the ...
1
vote
0
answers
76
views
Possible memory leak when writing files to SD with FAT fs
I have a HI3516A SoC based IP camera with SD card slot. The operation system on camera is custom 3.4.45 Linux kernel. Everything works well, but I need to have a copy of video from camera on my remote ...
5
votes
1
answer
4k
views
Tracking down Linux memory usage when not showing up in cache
Before you get your pitchforks out, I am having trouble tracking down on where the memory is going into the caching system in Linux. I have seen Linux ate my RAM!, and How to see top processes by ...
1
vote
1
answer
126
views
Word frequency gawk memory leak
I have the following bash script:
#!/usr/bin/env bash
grep -e '^[a-zA-Z]\{4,8\}$' data/words3.txt | tr '[:upper:]' '[:lower:]' | sort -u > data/passphrase-words.txt
function wordfrequency() {
...
3
votes
2
answers
4k
views
Unlinking files in /dev/shm not freeing memory?
I get the feeling I'm going insane, or tmpfs is very broken for long term use.
I have a workload that very rapidly creates and unlinks files in /dev/shm/[some directory tree]. Linux Slab usage (in ...
0
votes
1
answer
1k
views
linux server memory leakage, it grows inactive memory, how to find the process in inactive memory and to kill?
I have a problem with my Linux cent OS server, leakage of memory grows inactive memory, so how to find the process consists with huge memory in inactive memory to kill
1
vote
1
answer
381
views
Embedded Linux OOM - help with lost RAM
I have little Linux system with 256MB RAM. I'm little bit confused, where the RAM may be lost? It is running old linux kernel 2.6.38 and I'm not able to ubgrade it (some specific ARM board).
SHM and ...
4
votes
0
answers
811
views
Possible slab memory leak related to bio and btrfs?
I'm currently running a rebuild on a btrfs NAS (~20TB) that had a drive failure. It's going to take a few days. My problem is about once every 24 hours the RAM filled up and the kernel starts killing ...
4
votes
2
answers
975
views
Why does bash 4.3 keep allocating memory in a script
Why does this shell script gradually consume more memory in bash? I’m not using any local variables. Although the value of cpid is changing at every iteration because ls exits immediately, it should ...
0
votes
1
answer
197
views
Where is all my RAM going
On our RHEVM server, when i run free -m command it tells that 23117MB "Used -(Buffers+cache)" of RAM is in use, And Free "Free+(Buffers+cache)" is 9120MB
Total usable RAM is 30759MB
Actual used ...
0
votes
1
answer
1k
views
How do I check Memory leakage in solaris server? [closed]
I need to check memory leakage on my Solaris server.
2
votes
0
answers
1k
views
Extremely high shmem usage
I'm trying to debug the issue that's periodically taking down my work machine. It's an OOM-type problem, and based on this /proc/meminfo output:
Total: 32902608 kB
MemFree: 4054100 kB
...
0
votes
0
answers
936
views
Rudimentary memory leak check
I plan to use something like
ps -A --sort -rss -o comm,rss,sz,vsz
to detect memory leaks.
I plan to run the command before and after test cases in an embedded system, and my hope it that the system ...
12
votes
2
answers
9k
views
rsyslogd eating up 20+ GB (!) of RAM - what evidence to gather?
I have a Ubuntu 14.04.3 box running kernel 3.13.0-74 with 32GB RAM, which features a rsyslogd process gone mad:
$ ps -auxww | grep rsyslog
syslog 16212 0.7 64.0 27966168 21070336 ? Ssl Jan04 ...
1
vote
0
answers
648
views
Memory Leak trackdown
I have a server running Red Hat Enterprise Linux Server release 6.7. The server runs a number of java processes including a tomcat server with nginx webserver. The server has 12 GB of ram allocated ...
3
votes
1
answer
629
views
awk causing memory leak?
I am using awk to process a huge data file (about 100 million lines).
This is my expression-
tac <myfile> | awk -F',' 'OFS=\",\" {if(/^#/){print;}else{\$1=tolower(\$1);if(!seen[\$1]++)print;}}'...
3
votes
1
answer
3k
views
Xorg consuming 1.1GB, is it a leak?
I am facing a problem wherein Xorg starts to consume more and more memory
and finally eats up the whole swap space. As shown below, Xorg's virtual
memory is about 1.1GB. My system runs only one GTK ...
3
votes
2
answers
3k
views
leaking memory with shell script and tty [closed]
I'm running a shell script on a raspberry pi to communicate with a arduino.
Every hour my ram gets used up by about 50 megabytes more.
The script itself just connects to ttyACM0 (the arduino's usb ...
7
votes
1
answer
2k
views
xorg memory leak
I've read this question but it doesn't seem to be the same issue, as the memory leak there is an order of magnitude smaller than mine and seems to be caused by Nvidia drivers.. Here's my top output at ...
1
vote
1
answer
2k
views
Java/malloc memory corruption error when running SDK Android Manager [closed]
I want to install Android SDK, so I manually installed Java JDK 7u51, downloaded SDK ADT bundle for Linux x64, and tried to run it. When I run android, the SDK manager windows hangs halfway through ...
2
votes
1
answer
605
views
How to know what is trashing my Linux mint system?
My linux system is trashing occassionally. I have 4 GB of ram which is good even for Windows 8. All in all I have good specs. But occasionally the HDD light in the CPU is on for a long time and at the ...
3
votes
0
answers
447
views
Is there some memory leak in Mint 16? Or else what is this?
So this has happened to me 3 times now: I have left my computer on over night and when I come back in the morning all of my ram is being used and about a third to a half of my swap space is full.
...
3
votes
2
answers
1k
views
Why is scdaemon ballooning out of control?
My system keeps getting wedged because an scdaemon process has been spawned that has grown to consume all free memory on the computer. (I do not use, and have never used, smart cards in the vicinity ...