Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: quicktime exporter keeps using more memory



It's considered good practice to create your exporter once in your
application and re-use it since it's expensive to create a new one
[Cromie06].  The QTExporter is a member of the system's QuickTime
environment rather than belonging to a particular movie or track. 

Hopefully, the exporter's single creation and ongoing re-use will
address your efficiency problems.

-Ed

-----Original Message-----
From: quicktime-api-bounces+edward.venturanza=email@hidden
[mailto:quicktime-api-bounces+edward.venturanza=email@hidden.c
om] On Behalf Of Michael Gioino
Sent: Friday, March 23, 2007 1:02 PM
To: email@hidden
Subject: quicktime exporter keeps using more memory

Hey everyone,
I am using the quicktime exporter to export the audio from quicktime
movies 
to wav files. After I convert one file I do this:

axQTControl1.URL = "";
axQTControl1.QuickTime.Exporters.Remove(1);

and then with each new movie I Add a new exporter:

QTQuickTime qt = axQTControl1.QuickTime;
if (qt.Exporters.Count == 0)
{
   qt.Exporters.Add();
}
QTExporter ex = qt.Exporters[1];

The problem is that I am looking at the task manager and I see that the 
memory usage increases a few megabytes for each movie that I export. So,
is 
removing the exporter after conversion a good idea? Or is there a way to

dispose it or release its resources?

_________________________________________________________________
Get a FREE Web site, company branded e-mail and more from Microsoft
Office 
Live! http://clk.atdmt.com/MRT/go/mcrssaub0050001411mrt/direct/01/

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-API mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-api/edward.venturanza%4
0viacom.com

This email sent to email@hidden
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-API mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-api/email@hidden

This email sent to email@hidden

References: 
 >quicktime exporter keeps using more memory (From: "Michael Gioino" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.