Pinned topic void pointers management in iSeries
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
My team are trying to solve memory leak issue in very complicated C application running on iSeries v5. After debugging and eyeballing the source codes, we managed to trace the culprit; mismanaged void pointers. As it seems, free() call does not free the allocated memory. This, then eats up memory pool, thus hitting invalid heap space condition. So, if anyone can give any suggestion how these pointers can be dereferenced and their resources can be claimed at runtime, it will be really helpful. Thanks in advance.
Updated on 2010-08-20T03:30:48Z at 2010-08-20T03:30:48Z by fwzling
fwzling 270001K6YM1 Post
Re: void pointers management in iSeries2010-08-20T03:30:48ZThis is the accepted answer. This is the accepted answer.Have you heard about 'heap debug manager' for iSeries? It's a tool to inspect problems like memory leak. Here's a blog entry that introduces it a little. http://ibmsystemsmag.blogs.com/i_can/2010/08/i-can-debug-heapusage-problems.html