Hi
I am just writing my first smart plugin - to date I have just written regular plugins. My first test was pretty simple, it just had a single slider going from 0 to 1, and it filled the whole output with black, white or the appropriate shade of grey.
However after scrubbing the slider backwards and forwards a few times everything locked up. Opening task manager (which took some effort) showed that AE had eaten all my memory. Running AE in the debugger I found thatcalling fill consumed about 8 MB of memory and then between returning from my smart render event and the call to free my pre_render_data AE had consumed about another 8 MB of memory. Each move of the slider resulted in another 15 MB or so being consumed and with the breakpoints removed sliding slowly from one end to the other consumed a few hundred MB.
I then changed my plugin so that it totally ignored both smart render and smart prerender events. It literally did nothing but return PF_Err_NONE. Still AE racked up memory usage. Still I am getting 10 or 15 MB of memory leakage for each render event.
Has anyone ever seen this type of behaviour before? Is there something I need to do in a smart plugin that I haven't needed to do before that might be causing this problem? If needed I can post my sample code. I am using Visual Studio 2012 on Windows 8.1 with AE CC.
Phil