Re: Possible memory leak in Performer2.2 .

New Message Reply Date view Thread view Subject view Author view

Steve Baker (sbaker++at++link.com)
Thu, 14 May 1998 11:03:34 -0500 (CDT)


On Thu, 14 May 1998, Thomas M. Miller wrote:

> We had a similar problem here at Acusoft. We would fly around and page
> tiles in and out and it didn't take long for the pfSharedArena to run out of
> space. When a tile was unloaded the shared arena would mark space free
> but not enough. I didn't work on it but Acusoft's conclusion was that
> pfAsyncDelete and pfDelete have problems in pfDBase. So we now pfAsyncDelete
> our tiles in the App. The problem seems to be reduced if not entirely gone.
  
There was a known bug in Perf2.0 that caused that - there is a patch out
to fix it.

AFAIK, there is no problem in Perf2.2 - my application doesn't seem
to leak any memory at all - despite doing *LOTS* of paging.

On the otherhand, I'm not using any of the standard Performer loaders
(I have my own file format) - so it's possible that one or more of
the standard loaders leaks memory.

BTW: pfAsyncDelete is intended to be called in APP,
although the actual deletion happens in DBASE. You should be able to use
pfDelete in APP - but it takes time to execute on complex terrain tiles,
so doing deletion asynchronously in DBASE is obviously desirable.

Steve Baker (817)619-8776 (Vox/Vox-Mail)
Raytheon Systems Inc. (817)619-4028 (Fax)
Work: SBaker++at++link.com http://www.hti.com
Home: SJBaker1++at++airmail.net http://web2.airmail.net/sjbaker1

=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
            Submissions: info-performer++at++sgi.com
        Admin. requests: info-performer-request++at++sgi.com


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:57:24 PDT

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