Memory management question

New Message Reply Date view Thread view Subject view Author view

Stephen_Gifford++at++MAPS.CS.CMU.EDU
Thu, 18 Apr 96 15:06:56 -0400


We have a Performer program that basically does the following
iteratively:

 Read geometry into Performer structures
 Rebuild each geoset with the GeoBuilder
 Free the old geoset
 Write the new geometry
 pfDelete() the hierarchy

Everything is allocated with pfNew* or pfMalloc (geoset arrays).
We got what looks to be a massive core leak, so we tried the
following:

 Read geometry into Performer structures
 Write geometry back out
 pfDelete() the hierarchy

And we still have massive core leaks.
So we decided to try deleting the hierarchy ourselves, thinking that
perhaps geosets arrays were being leaked. Here we explicitly
pfFree()'ed all the geoset arrays, and pfDelete()'ed all the pfNodes.
And still have massive core leak problems.

Has anyone else had similar problems and managed to solve them?

-thanks
 Steve Gifford
 Digital Mapping Laboratory
 School of Computer Science
 Carnegie Mellon University


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:52:44 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.