General :: Find Memory Leak For Process

Mar 5, 2010

Is there any link where i can get information about below?

Dirty memory
RSS
PSS
One more?

if a set of process are getting executed in a use case say 50 times. How do one know the memory leak for a particular process?

View 1 Replies


ADVERTISEMENT

Ubuntu :: Memory Leak / Some Process Eating All Memory

Jan 29, 2011

I have had a fresh install of Ubuntu 9.10 and installed some software after that.Since third some, some process is eating half of my memory.I have checked processes running in system manager but everything is normal.Maximum is consumed by compiz which is about 26 mb, seems very normal.I did restarted my computer several times, and in the start for 5 mins, its fine after that again my cpu fans runs at very fast speed and my one cpu is used up 95 % (I have dual core).Please help me out, this invisible thing is driving me crazy.I am attaching my htop screen shot (sorted by cpu %), now the cpu is not used by completely but fan is still struggling hard and fast.

View 9 Replies View Related

General :: Find Out What Process Are Eating All Memory

Jul 8, 2011

Im using SUSE, i have 31GB of memory Mem: 31908592k total, 31429632k used, 478960k free, 12176k buffers. How do I find out what process are eating up all my memory.

View 3 Replies View Related

General :: Memory Leak Whenever Try To Connect The Server Using The ()?

Jun 3, 2010

I am facing problem of Memory leak whenever i try to connect the Server using the ().getting rid of this problem.

View 1 Replies View Related

Programming :: Memory Leak In C++?

Mar 3, 2011

I'm currently developping a program in C++, using Qt, for an embedded board (SBC9261).It works well but crashes after some time, due to a system memory overload (my program uses more and more memory until 100%, when it crashes).I've been able to figure out the source of the memory leak :The function f is called by my program every second. f instanciates a new object (a QImage from the Qt lib), does a bunch of processing on it, and returns it to the calling function :

Code:
QImage *MyClass::f(QString filename) {// Open image
QImage *image = new QImage(filename);

[code]....

View 5 Replies View Related

Hardware :: Memory Leak On CentOS?

Jan 24, 2011

root@XXXXX:~# uname -a Linux myserver 2.6.18-194.11.4.el5 #1 SMP Tue Sep 21 05:40:24 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux I'm having serious memory leak issues on a server running CentOS. Running 'top' I can't find any proccess with an unusual memory usage. Is there any other way to check what is using this memory? Right now it shows that I have 4.8GB of RAM used, but top shows only few proccesses, one with 4% and lots of 0.0%.

View 9 Replies View Related

Programming :: Creating A Memory Leak In C++?

Dec 16, 2010

I need to write a small program that eats away at availabe memory. I need to creaty a memory leak to test how other programs cope. I need to run this program on linux and see if the available memory is decreasing.

So I have done:
Code:
int main()
{
int *buffer;
while(1)

[Code]...

View 10 Replies View Related

General :: Ubuntu - Memory Full, Process Memory Usage Doesn't Add Up In Top?

Mar 18, 2011

I have a computer with 16GB of ram. At the moment, top shows all the RAM is taken, (NOT by cache), but the RAM used by the various processes is very far from 16GB.I have seen this problem several times, but I don't understand what is happening.My only remedy so far has been to reboot the machine.

View 1 Replies View Related

OpenSUSE Multimedia :: Serious Xorg Memory Leak KDE 4.2 OS 11.0?

Feb 3, 2009

I have 4 gigs of ram and xorg goobles up 70+% in a matter of an hour or so. I'm running a java app with lots of 2D graphics, firefox, pidgin, and one other java app. I recently upgraded to KDE 4.2 and got dual ATI firepro 3700 cards running 3 22" widescreens. The memory gets eaten until my java app crashes.

I'm using the fglrx driver as it seems the radeonhd one doesn't recognize the firepro 3700. Can one only have a single KDE4 version on the machine. I would like to be able to swtch back and forth between 4.1 and 4.2 in order to troubleshoot without all the downloading and installing in yast.

View 2 Replies View Related

Server :: Malloc-64 Memory Leak/trashing?

Mar 2, 2011

I'm afraid I have a huge issue with my newest Fedora 14 server. I recently migrated to Fedora 14 from Centos 5, which was very stable, but had ancient packages and libraries and my users were revolting...The machine is a HP ProLiant 360 G7, with 12G RAM and 6 SAS drives in RAID 5.After I migrated to Fedora 14, I noticed that for some reason, during the course of about 24 hours, all usable RAM "disappears" and applications are forced down to swap space. Needless to say I didn't have this issue on CentOS.

The server does heavy IO as per it's function (it's a heavily loaded file processing server and user simulation computing station among other things, which causes lots of random IO), so I thought it may be the cache, but then I realized it cannot be - because obviously Linux will use onyl "unused" RAM for caching and frees it up as soon as an app need it. Then, I thought to check the "slabtop" to see what's going on in Kernel memory. Unfortunately I don't have the screenshot from the time just before the latest crash, but there's a certain value displayed by slabtop, which slowly, byte-from-byte creeps over all available RAM, eventually forcing applications down to the swap. This is malloc-64, and as you can see from the bellow copy-paste, it's building up again even now...


Code:
Active / Total Objects (% used) : 9118075 / 9153600 (99.6%)
Active / Total Slabs (% used) : 152157 / 152157 (100.0%)

[code]...

View 4 Replies View Related

Programming :: Memory Leak Whenever Try To Connect The Server Using The ()?

Jun 3, 2010

I am facing problem of Memory leak whenever i try to connect the Server using the ().

View 2 Replies View Related

Programming :: Write() To Disk Causes Memory Leak?

Oct 26, 2010

I have encountered this problem of memory usage is increasing as the during the my program is being run until 1Mb is left then it stays at that.A part of the program is this:

Code:
#define WRITE_BUF_SIZE (1024*1024)
void post_data(const void *data, unsigned long size)

[code]....

View 3 Replies View Related

CentOS 5 :: Memory Leak Bug On Production Server

Mar 20, 2009

My server [URL] goes down in some cases.

On general time load average is 0,15-0,2 Only http(with php) and mysql working on it.

Here are some screens when the server goes down: [URL]

Here are the same bug with mine described: [URL]

View 5 Replies View Related

Ubuntu :: Can't Find Any Process That Consume Such Large Number Of Memory

Feb 23, 2010

I used 9.04 for months and it work fine before restarting my PC. After I restarted my PC, the memory consumption takes up to 4.2 GB after login. However, I cannot find any process that consume such large number of memory.

[code]....

View 3 Replies View Related

Ubuntu Installation :: GEM Memory Leak From GLX 1.4 Backport, First Step?

May 15, 2010

I can confirm my machine's GLX version is 1.4, and I definitively get the slow down problem, however, after running in a terminal:

Code:
grep "object bytes" /sys/kernel/debug/dri/0/gem_objects
grep: /sys/kernel/debug/dri/0/gem_objects: No such file or directory
What am I doing wrong?

View 1 Replies View Related

Ubuntu :: Nvidia 195.36.24 Driver 10.04 Lucid Memory Leak?

May 21, 2010

I dont know if this issue has already been solved, or if there are other threads dealing with it, but Im quite desperate with this bug that has been annoying me since I upgraded from 9.10 to 10.04.

Firs I thought it would be GEM related, but Im using a proprietary graphics card, so thats not the way to solve it. I experience the problems a memory leak provokes, mainly that, as time goes by with the laptop turned on, the system needs more resources to execute simple actions, and it freezes too many times. Plus IBUS will, suddenly, stop working (I still don't know if it is related or not), and, most of the times I log in, Notification Area 2.30.0 will load with errors.

View 3 Replies View Related

Ubuntu Servers :: Apache Segfaults Causes Memory Leak?

Jun 12, 2011

I'm having some strange issues with apache. Time by time it segfaults, eats all available memory (including swap) and makes server non responding.Ubuntu Server 10.04.2 LTS

Some strange logs:
Jun 12 12:00:18 *** kernel: [40767.969443] apache2[7635]: segfault at 726f7272 ip 00007f13a31f3f16 sp 00007fff6f740ea0 error 4 in libapr-1.so.0.3.8[7f13a31d7000+35000]

[code]....

View 3 Replies View Related

Ubuntu Installation :: Memory Leak Lenovo Ideapad Y560?

Nov 18, 2010

I installed Ubuntu 10.4 and everything works great "out of the box"! I didn't install any drivers.blem, a major one...When I type "top" right after a reboot, around 1GB of RAM is in use. After a few min it grows to 2GB, even 2.5GB for no reason. Luckily, my machine has 6GB of RAM but it's still a major issue for me.I read on another forum another user with the same problem on the same Lenovo machine and he solved it by installing the newest driver for his ATI device. I don't have ATI, but I have the impression that I can solve my problem the same way. Do you have any idea what driver my cause that? I checked the Intel site for a new Intel HD graphics driver but they don't have ones for Linux.

View 2 Replies View Related

CentOS 5 :: Apache Memory Leak Since Glibc-2.5-42.el5_4.2 Update?

Jan 4, 2010

I updated several packages on one of my servers on Dec 21st and have been seeing excessive swapfile usage since then. The problem process seems to be httpd which in our environment runs a subversion server as well as serving a number of php pages over https. At present I am having to bounce apache approximately every 5 days as it has used all 8GB swap in that time.

[Code]..

Of the updates listed as installed, the only one that looks likely to affect apache is glibc. Looking at the stats from sar -r I can see swap usage increasing by approx 3% (of 8GB) every hour.

View 3 Replies View Related

Fedora :: Minimize / Prevent The Memory Leak Other Than Waiting For The Next Version Of Gnome 3?

May 27, 2011

I'm using Fedora 15 with Gnome 3 on a 32 bit laptop. I noticed that there seems to be a huge memory leak issue with Gnome shell. When I restart it, it is around 20 MB. But it keeps rising, and after around eight hours, I noticed it was around 250 MB! I found a solution online that said to simply restart the shell if the gnome-shell memory consumption becomes too large. While this is fine as a temporary solution, I am looking for a permanent one. Is there a way to minimize/prevent the memory leak other than waiting for the next version of Gnome 3?

View 3 Replies View Related

General :: Find The Parent Process Of A Zombie Process?

May 4, 2010

How do you find the parent process of zombie processes?

When the child process is something where the parent is not entirely obvious...

Is there some way to list processes in tree format or something?

View 3 Replies View Related

General :: Get Process Memory Consumption?

Apr 2, 2011

I need a command that can get the memory consumption of a process called "job_runner_o".

Running ubuntu 10.10

View 2 Replies View Related

General :: Display The Memory Usage Of Each Process If I Do A 'ps -ef'?

Jan 29, 2010

In linux, how can I display memory usage of each process if i do a 'ps -ef'?I would like to the 'virtual memory', 'res memory', 'shared memory' of each progress. I can get that via 'top', but I want the same info in 'ps -ef ' so that I can pipe the output to 'grep {my process name}'.

View 3 Replies View Related

General :: Force A Process To Run In Virtual Memory?

Dec 9, 2010

I am running a series of tests for an implementation of a remote pager that sends page faults to other computers in a network. Long story short, I was wondering if there is an easy way to force a process to use virtual memory as oppose to physical RAM so that I can better measure the performance of my implementation against how the system would perform while swapping to the hard drive.

View 4 Replies View Related

General :: Memory - Preventing A Process Being Swapped Out?

Aug 30, 2011

Does anyone know of a linux utility which will prevent all memory in a forked process from being swapped out to disk? I've seen the 'mlockall' call, but hacking the app sounds like overkill.My reason for needing this is that I'm running Windows XP under VirtualBox on my linux netbook, and I'm concerned there are basically two levels of swapping going on, which on a single dinky netbook hard disk isn't

View 3 Replies View Related

General :: Calculating Process Memory Usage?

May 13, 2010

What originally seemed like an easy thing to calculate has given me a big headache. Perhaps someone can help me with my issue. I am trying to find, in particular, how much memory certain application processes are taking. The process always is the same name, main_server, but with an argument to tell it what to do when running as a daemon.

When running the following command against all "main_server" processes, it produces a result in megabytes based on the output of the rss field in 'ps'.

Code:
CALC=0
for ea in
`ps -e -orss=,args= |
sort -b -k1,1n |
pr -TW$COLUMNS |
grep main_server |
grep -v "grep main_server" |

[Code]...

Currently I am left scratching my head. For capacity planning purposes, it would be nice to know how many more 'main_server' processes could run on the system without causing it to swap. Knowing the buffer and cache usage will go down as running processes demand more memory, I prefer to look at the free memory excluding cache and buffers. However, since 'ps' is reporting the processes are using more memory than free reports is in use without those things, I have no way to know how many more processes the system can support. I played around with different fields in 'ps', such as vsize, size, etc, but with no luck in matching up any numbers.

View 7 Replies View Related

General :: Limit The Memory Usage Of A Specific Process?

Apr 24, 2010

I've written a program for a class that my professor will be testing in various low memory environments to see how it behaves when the program runs out of memory. Is there a way I can simulate the execution in a low memory environment without creating a virtual machine?

View 1 Replies View Related

General :: Testing - Stop OS From Allocating More Memory To A Process

Dec 2, 2010

I want to test that a process properly kills itself and restarts when it can't allocate needed memory. One idea I had was to start other memory-consuming processes and hope that OOM killer kills the process being tested, but 1) this isn't quite the same; 2) it may kill other processes instead; 3) since this is an embedded system, I don't have any programs available except for the system under test and BusyBox.Is there a more direct way to ensure that Linux won't allocate memory to a process?

View 1 Replies View Related

General :: Explicitly Swap Out Main Memory Of A Suspended Process?

Apr 7, 2010

I run a memory-hungry process (mkcromfs) which consumes more memory than I have physical memory on my latop, so it is paging and swappin and thrashing all the time and loadavg is about 2 (compcache is already in use with usual swap partition as well), but slowly moving forward (Although I afraid it will finally try to allocate >2GB and crash draining 2 days of thrashing).

When I want to use the laptop for something else, I stop the process, start X server, firefox and other programs. The problem is that when I start Firefox the loadavg jumps to 10 and the system becomes almost unresponsive at all (long time to turn on/off caps lock, slow mouse cursor position updates, slow switching from X server to Linux console, slow login).

The stopped mkcromfs still holds a lot of memory (464.8 MiB and slowly falling) and moves it to swap only when more memory is needed for some other program, which results in a great slowdown.

How to tell the Linux to swap out this process entirely (e.g. I'm not intending to resume it in short term), possibly waking from swap other data? Also it will be useful to be able to specify the exact swap device to swap the given process out (for example, mkcromfs's memory is useless in ramzswap).

Update: Now I just write a 400-600M of data from /dev/erandom to tmpfs and it makes mkcromfs to shrink. Is there more proper way?

View 1 Replies View Related

General :: Get The Each Process Actual RAM Memory Usage In 2.6.21 Or Higher Version

Feb 8, 2010

I woukld like to know the kernel command or linux kernel file name where i can get the process actual physical RAM usage in linux version 2.6.21 or hiher version.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved