Re: Free memory

New Message Reply Date view Thread view Subject view Author view

Angus Dorbie (dorbie++at++sgi.com)
Tue, 16 Nov 1999 11:15:25 -0800


Performer reference counts it's objects using the pfMemory methods.

You will not be able to delete an object unless it is unused.

In fact it should automatically be deleted when the reference cound
reaches zero. Something you might want to try is to create an object
increment it's reference count then use it.

When you are done using it unrefdelete the object.

Look at the manual page for pfMemory for more information.

CHeers,ANgus.

Javier Sevilla wrote:
>
> Hello
>
> I'am working in a project that needs continuous load/unload of sequences.
>
> The final project must run in a PC : Pentium III 500, Matrox G400, Linux & Performer.
>
> The sequences are basically pfSequence's with Geode's.
>
> The load of the sequences seems to works fine,
>
> I can see the loaded sequence without problems,
>
> but when I try to unload it, the memory don't be freeded.
>
> The sequences are .flt files.
>
> Thanks in advance.
>
> Cheers Javier.
>
> Note: I have the same problem in a Onyx2 IR.
>
> _____________________________________________________________________
>
> Javier Sevilla Peris mailto:jsevilla++at++glup.irobot.uv.es
> _______
> / /___\ \
> LISITT / / \ \ R T E C
>
> Phone: +34 6 360 4484
> Dept. Electr. & Informatics Addr: Poligono de la Coma s/n
> University of Valencia Valencia (SPAIN)
>
> _____________________________________________________________________
>
>

-- 
"Success is the ability to go from one failure to another with
 no loss of enthusiasm."    -    Winston Churchill.

Performer + OpenGL examples and tutors: http://www.dorbie.com/


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Tue Nov 16 1999 - 11:15:40 PST

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