Skip to main content
gabgren
Inspiring
September 3, 2015
Answered

AE Plugin aborts render on out of memory

  • September 3, 2015
  • 1 reply
  • 494 views

Hi everyone.

I am somewhere between what shachar carmi calls 'a noob' and a 'semi-pro' in this thread: https://forums.adobe.com/thread/1374898

I've developed a plugin on my own, as my first attempt in C++ and my first attempt in AE plugin development. (I did code a lot before, but more in JS, VB, PHP, ..)

The plugin works well and is distributed since few weeks but now i'm getting a feedback from a user who says it abort when rendering if AE is out of memory.

I read a lot of documentations and it's written so many times in AE SDK pdf to use their memory suites, but apparently I did it wrong.

Since it's my first time developing i'm a bit clueless on what can cause this bug, and even more on how to fix it.

Another problem is people are already using it and i don't want this bug to take a long time to fix.

So i'm wondering two things:

- Where to start to figure out why my plugin is not reacting well when AE is out of memory

- Do you know any (or are you) consultants that could help me understand and fix this

Thanks !

Respect,

Gabriel

This topic has been closed for replies.
Correct answer shachar carmi

what do you mean by "abort render"?

does it stop rendering (as it should), or does it crash?

in any case, if you can't get the problem to reproduce during a debug

session, try writing data to file from strategic points in the code, and

get the error to reproduce in release mode.

it will help you pinpoint the problem.

1 reply

shachar carmiCommunity ExpertCorrect answer
Community Expert
September 3, 2015

what do you mean by "abort render"?

does it stop rendering (as it should), or does it crash?

in any case, if you can't get the problem to reproduce during a debug

session, try writing data to file from strategic points in the code, and

get the error to reproduce in release mode.

it will help you pinpoint the problem.

gabgren
gabgrenAuthor
Inspiring
September 3, 2015

Hi!

It doesn't crash. When ram preview, it stops sooner than it should and eventually you get very few frames to render.

When rendering to QuickTime for example, it will stop the remder amd say "out of memory to render this frame, install more ram".

So it seems it's not freeing the memory after the frame is processed and keeps increasing memory usage