GeoSet memory leak bug?

New Message Reply Date view Thread view Subject view Author view

From: christopher.g.dorosky++at++lmco.com
Date: 09/06/2000 13:08:19


pfHelp();

I have been having problems with memory leaks. I have been speaking offline
with two SGI programmers, and was told the following.

In a dbase process, if I create pfGeoSets, and then delete them, (and thats
all I do) I do not have to call pfBuffer->merge();

The file waste.C shows that this is not so. By commenting out the
buf->merge() line, it runs out of memory in seconds.

So, I could call buf->merge().. however, in the second program, async.C, it
leaks quickly for a while, slows down, stops, then leaks again. I am having
problems with my real application because of this.

My real application uses a pfdGeoBuilder, but I cut that out for async.C to
keep everything simple.

Because of the waste.C results, the engineer suggested I call in to file it
as a bug. Before I do this, can anybody say definitively if that is the way
it is supposed to work, or if I am doing anything wrong?

Thanks,

Chris
 <<async.C>> <<Makefile>> <<waste.C>>

Christopher Dorosky
Lead Electronic Systems Engineer - Real Time Simulation
Lockheed Martin Missiles and Fire Control - Dallas
christopher.g.dorosky++at++lmco.com
972-603-2349








New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Sep 06 2000 - 13:10:58 PDT

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