Topic
1 reply Latest Post - ‏2010-08-20T03:30:48Z by fwzling
SystemAdmin
SystemAdmin
196 Posts
ACCEPTED ANSWER

Pinned topic void pointers management in iSeries

‏2010-08-12T02:20:46Z |

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.
Regards,
tn
Updated on 2010-08-20T03:30:48Z at 2010-08-20T03:30:48Z by fwzling
  • fwzling
    fwzling
    1 Post
    ACCEPTED ANSWER

    Re: void pointers management in iSeries

    ‏2010-08-20T03:30:48Z  in response to SystemAdmin
    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