If this is for a graphical application I can recommend the MemoryPanel (https://github.com/gnustep/libs-gui/blob/master/Source/GSMemoryPanel.m) that is build into all GNUstep applications. Just open the about panel and click on the GNUstep icon to open this hidden feature. This code uses GSDebugAllocationClassList, which has been pointed to be Richard and may be used by non graphical applications.
Hope this helps, Fred > Am 08.03.2018 um 18:29 schrieb amon <[email protected]>: > > What I want it to run an object in a test harness, say 1000 > times, and meter the storage usage each time through so I can > see if there are cases in which objects are leaking storage. _______________________________________________ Discuss-gnustep mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnustep
