MLM Veraart (Veraart++at++fel.tno.nl)
Tue, 20 Apr 1999 15:05:47 +0200
I think the flight loader performs a pfRef() call to every texture and
Geostate that it creates. This makes it impossible for pfXXDelete() to
remove them from memory.
See man page for 'fltSharedPalette'. One of the Multigen Flight Loader
pages.
Mario
>
> I tried out:
>
> amallopt(M_MXFAST, some-value-bigger-than-28, pfGetSharedArena());
>
> and played with a few values. No noticeable effect so far.
>
> I'll keep at it....
>
> -Mason
> mason++at++praxis.jsc.nasa.gov
>
> > From zhz++at++dandan.engr.sgi.com Sat Apr 17 03:48 CDT 1999
> > Date: Sat, 17 Apr 1999 01:47:43 -0700
> > From: zhz++at++dandan.engr.sgi.com (Jenny Zhao)
> > To: "Mason D. Menninger" <mason++at++praxis.jsc.nasa.gov>
> > Subject: Re: The infamous dbase paging memory leak
> > Cc: info-performer++at++dandan.engr.sgi.com
> >
> > Hi, Mason,
> >
> > Does your tiles contain textures?
> > You have to delete pfTextures in a special way.
> > Please look at pfuTextureManager.C
> > for details.
> > There is an example of using pfuTextureManager
> > in pguide/libpfutil/texman.C
> >
> > What format is your data in? flt? pfb? or?
> >
> > A lot of the suggestions you see on info-performer
> > deals with memory fragmentation, not memory leaks.
> > Here is another useful tip found by Angus:
> > amallopt(M_MXFAST, some-value-bigger-than-28, pfGetSharedArena());
> > Play with the value to see if
> > it helps.
> >
> > Make sure the tiles you want to delete are not
> > being reference by other parts of the scene graph. Otherwise
> > the reference count on them do not go to zero
> > and AsyncDelete can never delete them.
> >
> > Hope my 2 cents can help.
> >
> > Jenny Zhao zhz++at++engr.sgi.com 650 933-5091 IRIS Performer Manager
> >
> -----------------------------------------------------------------------
> List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Tue Apr 20 1999 - 06:05:03 PDT