Debug those mysterious problems with your application's memory
Debugging aids for IBM i heap memory
From the developerWorks archives
Date archived: December 19, 2016 | First published: December 14, 2012
Debugging heap memory problems within an application can be difficult on any platform. Fortunately, IBM i 6.1 and later releases provide support to help debug heap memory problems within the ILE environment. This article explains what heap memory is and illustrates the correct usage of heap memory from several ILE languages, including C, C++, RPG, COBOL, and CL. It also describes some of the common problems that occur when using the heap memory and how to use the support provided on IBM i to debug those problems.
This content is no longer being updated or maintained. The full article is provided "as is" in a PDF file. Given the rapid evolution of technology, some steps and illustrations may have changed.