The tag has no usage guidance.

learn more… | top users | synonyms

9
votes
3answers
3k views

xorg memory leaks

On my desktop Xorg leaks a lot of memory. I use to let this machine on for days (weeks, months ...), but about once a week I'm forced to restart xorg, because it is taking too much memory. Am I the ...
8
votes
2answers
8k views

How can I find a memory leak of a running process?

Is there a way, I can find the memory leak of a running process? I can use Valgrind for finding memory leaks before the start of a process. I can use GDB to attach it to a running process. How could I ...
7
votes
5answers
4k views

How to track/fix a memory-related issue in a large C/C++ code on *nix systems

What strategy you use while tracking a memory-related issue? What tools do you use (open source as well as proprietary) to identify memory leaks, memory corruption etc? How would you track memory ...
6
votes
2answers
2k views

What is “kernel dynamic memory” as reported by smem?

While diagnosing low memory problems in my desktop machine (details at U&L) I've noticed that my noncache "kernel dynamic memory" is big: # smem -twk Area Used ...
5
votes
1answer
949 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 ...
3
votes
2answers
471 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 ...
3
votes
1answer
226 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=\",\" ...
3
votes
1answer
48 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 and although the value of cpid is changing at every iteration because ls exits immediately, but it ...
3
votes
0answers
398 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
3answers
2k views

Discrepancy between reported used memory and sum of application memory usage

I'm running a desktop system that quite regularly suffers from lack of memory, this prompted me to investigate what causes the issue in the first place. Problem is, there's no single process that ...
2
votes
2answers
390 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 ...
2
votes
1answer
279 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 ...
2
votes
2answers
1k views

Xvfb does not release memory

We want to create screenshots of websites for our software, and we are doing this by using CutyCapt with Xvfb. Unfortunatly every time CutyCapt takes a screenshot, the memory of Xvfb increases .. ...
2
votes
0answers
582 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 ...
1
vote
0answers
61 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 ...
1
vote
0answers
55 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
0answers
73 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 ...
0
votes
1answer
46 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
1answer
36 views

How do I check Memory leakage in solaris server? [closed]

I am new in here. I need to check memory leakage on my Solaris server. Kindly help me. Best Regards, Wasila
0
votes
0answers
43 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 ...
0
votes
1answer
941 views

Java/malloc memory corruption error when running SDK Android Manager

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 ...