• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Memory management and premiere

New Here ,
May 21, 2010 May 21, 2010

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

TOPICS
SDK

Views

866

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

New Here , Jun 18, 2010 Jun 18, 2010

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

Votes

Translate

Translate
Adobe Employee ,
Jun 17, 2010 Jun 17, 2010

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 18, 2010 Jun 18, 2010

Copy link to clipboard

Copied

LATEST

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines