![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to check memory leak in C program under Unix | useless79 | High Level Programming | 6 | 10-12-2008 10:39 AM |
| about virtual memory and memory leak | shriashishpatil | High Level Programming | 4 | 02-20-2006 08:31 AM |
| Comman/Tool to check memory leak in solaris box | rajeshlbryan | UNIX for Dummies Questions & Answers | 1 | 09-02-2005 06:58 AM |
| memory leak? | lenna | IP Networking | 1 | 07-16-2005 01:29 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Check memory leak
I am running c++ code on AIX unix.I have a doubt that my code is using some memory but it is not clearing that.Some time i am getting heap allocation problem.In my code i am not using any malloc,new functions also i am justing using pointers and arrays.
Is there any way i can find out if the memory block is filled and it is released for a particular user. Please help me the way to find the solution for this. Thanks |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
prstat -p pidofyourCprogram interval > checkmem.log &
tail -f checkmem.log |
|
#3
|
|||
|
|||
|
It seems we dont have prstat on AIX Unix.
I am getting the following error when i run prstat ksh: prstat: not found Thanks |
|||
| Google The UNIX and Linux Forums |