Hi, we've developed a plug-in that calls getPreviewFrameEx. Our plug-in is not leaking memory (checked with bounds checker). We make the getPreviewFrameEx call constantly, and memory usage goes through the roof, eventually we get bad frames from premiere and the program crashes. What can be done about this? Can the media cache be turned off? Do we have to monitor our memory usage and report it to premiere? We don't need super high performance, so turning the media cache off may be viable for us, how would we do this?
There's no way to disable the Media Cache. Are you calling PPixDispose() on the PPixHand returned from getPreviewFrameEx()?
Hi Zac, fixed the problem....the guy before me was allocating a ppix and then passing it into the getPreviewFrameEx, resulting in double allocations....it is now fixed, thanks!!!