IExtractImage:Extract for videos question.

  • Thread starter Thread starter Scott Andrew
  • Start date Start date
S

Scott Andrew

I have my app extracting thumbnails nicely for video and images. I have
noticed however that for video there are 5 threads added everytime I call
extract. And those threads never go away. Also the memory is never freed (or
appears not be freed) when the release is called an all my objects are
cleaned up.

Does anyone know why Extract is adding extra threads for every extract
called for video? It's almost like it's not using the thumbs.db.
 
Scott,

You might want to try and force a GC, using the static Collect method on
the GC class. If you have a lot of COM interop wrappers, and you arent
calling ReleaseComObject on them, then the objects never really have been
released properly.

You can see if this is the case by seeing if you have this resource
problem when making the same API calls in unmanaged code.

Hope this helps.
 
Back
Top