By chance, are you initting the QCRenderer on one thread and using it on 
another? If so, you *cannot* do that, and you will leak textures.

Ive used the standard and the v002 Movie Player in various compositions and 
apps and have not seen leaks.

You also should test the leaks over a longer period of time. QC's cache will 
retain images pat the current frame, in case it needs to be re-used. Ive 
noticed in small apps what looks like leak (memory usage climbing after the 
comp is loaded), but you will (hopefully) see that taper off and reach a local 
maximum for the loaded comp, and float around a memory value. The Leaks tool 
picks those up as leaks, but in reality its handled as a cache.

Are you seeing continuous memory leaks over long periods of time, (like more 
than 20 min?), and not a continuous rise in memory usage after a minute or two, 
then a tapering off once the caching has determined the optimal memory size  ?

How much memory is leaking per frame?

On Dec 18, 2010, at 9:05 AM, Jens Barth wrote:

> 
>>> our application uses a pbuffer to render a simple movie player composition 
>>> as an opengl texture.
>> 
>> You should seriously consider using an FBO instead of a pbuffer.
> 
> Thanks for the advice! We switched to FBO but the problem remains.
> Furthermore I realized that memory leaks in -[QCImageBuffer(Extensions) 
> cacheRetain:]  also
> when loading the composition in a basic QCView.
> 
>> Supplying some sample code in a radar would also be advisable.
> What part would be necessary?
> 
> 
> Best,
>    JB
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Quartzcomposer-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/quartzcomposer-dev/doktorp%40mac.com
> 
> This email sent to [email protected]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to