• No replies
196 Posts

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

    Re: void pointers management in iSeries

    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.