Copy link to clipboard
Copied
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?
--John
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!!!
--John
Copy link to clipboard
Copied
Hi John,
There's no way to disable the Media Cache. Are you calling PPixDispose() on the PPixHand returned from getPreviewFrameEx()?
Zac
Copy link to clipboard
Copied
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!!!
--John