search for: findleaks

Displaying 5 results from an estimated 5 matches for "findleaks".

2006 Mar 03
3
Using DTrace to locate memory leak
Howdy, I am attempting to isolate the location of a memory leak in a 4GL program, and have hit a bit of a snag. When I LD_PRELOAD libumem and run the application server, "::findleaks -fdv" reports numerous leaks: CACHE LEAKED BUFCTL CALLER 0000000100b49068 15 0000000100ef2d50 fdcon+0x6c4 0000000100b50028 1 0000000100b72ac0 fdcon+0x6c4 0000000100b49068 2 0000000100cdfb30 fdcon+0x6c4 0000000100b44368 93 0000000100c98ee0 rnrq+0x204...
2006 Oct 24
15
How to emit associative array after ^C
Boy am I a dummy. I want to simply dump out unfreed allocations when I terminate the script. What''s the secret sauce? #!/usr/sbin/dtrace -s pid$1::MyAlloc:return { bufs[arg1] = walltimestamp; } pid$1::MyFree:entry /bufs[arg0]/ { bufs[arg0] = 0; } This message posted from opensolaris.org
2008 Jun 09
6
FW: Memory Leak Problem in My Application running on Solaris 10.
...hen I tried to run dtrace script available in SUN Site it stops abruptly With following error # dtrace -s ./CCagg_1.d `pgrep scadadbproc` | c++filt >> scadadbproc_dtrace dtrace: 91102 drops on CPU 0 dtrace: processing aborted: Abort due to systemic unresponsiveness While suing mdb ( ::findleaks ) It says no memory allocation done and says no leaks found. 1) Is there any way where I can restrict dtrace to look for probe only certain source files or functions? 2) Is there any way to handle such problems? 3) I got a clue of using "libgc.so" which acts as garbage collector is...
2009 Feb 27
7
Memory usage for C++ Application is growing
Hi , I have c++ server application in solaries 10 . Day by day memory usage is growing i try to find memory leaks with MDB and DTRACE and no leaks found. how can we find reason for growing memory , can we know which memory sigment is cause for growing memory usage Thanks in Advance. Rao -- This message posted from opensolaris.org
2006 Oct 30
3
Why does gethostbyname_r appear to leak?
I am running a very simple multithreaded program (TestThread.C) which calls gethostbyname_r in several threads. My analysis of this program with both truss and DTrace suggest that is has a small leak. However, if I alter the program to have many more threads and run for a lot longer it never runs out of memory and does not carry on growing. Can anybody explain what I am missing in my analysis or