Skip to main content
Participant
May 29, 2011
Answered

Invalid image buffer size question.

  • May 29, 2011
  • 11 replies
  • 166756 views

I finished a project but once I start to render, an error always pop up at the exact frame stating:

"After Effects error: Invalid image buffer size (40003x40002)"

(37 :: 102)

I have tried purging every 5 frames, yet it still doesn't work.

I am using a mac with 2 gigabyte ram.

Hopefully someone can help me with this, really need to render because I need to submit it soon.

Thanks.

Correct answer mr_epic_peter

it sometimes happens to me when the camera is too close to an object like text (think it has to do with resolution changing)

if you move the camera to go a bit further away from an object it should fix the problem

11 replies

Participant
April 20, 2022

Hey all!

 

I was incredibly stumped by this error code because I had a mountain of comps and precomps and had no clue where I could have made a layer way too large, given that all of my initial footage and images were HD or 4K. It turns out, I was working with 3D layers for a procedural water effect using fractal noise, and I had expanded that base layer way too far into the z-axis.

 

So make sure if you have 3D layers like cameras or other effects that you check how far in the z space they are, especially because it's really hard to tell how much space you've actually used when looking at it on a 2D plane. 

Participating Frequently
November 3, 2022

I'm facing the issue of :  Invalid image buffer size (0 x 1)

The error appeared out of nowhere, was working fine till now. It is triggered by touch the box of "stabiliize motion of tracker". 

It solves by keep deleting the preference file everytime I open the AE. 

Participant
December 16, 2020

My Camera-Layer didn't cover the whole scene. After I draged it to the end of the scene, the message didn't reappear.

Known Participant
October 28, 2020

Fo me it was the Motion Tile effect. hope Adobe will fix this!

Participant
May 21, 2021

I got the same error from adding Motion Tile effect. Adobe CC 2021. It's gone after I deleted the Motion Tile effect.

Arion Digital
Participant
June 21, 2019

Had this same issue after adding a text animation preset.  I simply shrank the size of some of the animation preset scale values, then presto - it worked.

Participant
January 24, 2017

I am having this issue currently exporting to Photoshop layers.  I have tried it on a 2015 Retina MacBook Pro with 16GB of RAM, and a Late 2013 Mac Pro with 32GB of RAM.  Both are on the absolute latest version of After Effects, 14.1.0.57.  My comp is a weird size, 784x295, but the error message states "After Effects error: invalid image buffer size (641x-247). ( 37 :: 102)"  None of my comps or layers are anywhere near that 641x247.

I have no CC LightBurst, Transform 32 effects, character animations, etc.  The only effects I have used are several instances of KeyLight, Key Cleaner, Advanced Spill Suppressor, Tint, Brightness & Contrast and Photo Filter.  To test if one of those filters was the issue, I deleted the 4 layers that had those filters on, leaving my comp with zero filters, and still received the same error.

Also, my "Magnification Ratio" is set to 100%, and it also fails at 50% and 200%.

Comp duration also doesn't matter.  Originally it was 14 seconds, but because I am exporting to a PSD, there is no motion at all.  I dropped it all the way down to just two frames, and still the Save As Photoshop Layers fails.

Exporting or Rendering a regular Photoshop document worked fine, it was the layering that was the issue.  The only way I was able to get this file to export a layered PSD was to copy all my layers and paste them into a normal size comp, in my case 1920x1080 square pixels.  I needed to fix the arrangement a little and put layers back where they should, but I was then able to bring that 1920x1080 layered PSD into Photoshop and crop it down to the 784x295 I needed it to be.

So, any ideas why the original export failed and how Adobe can fix that?

Thanks you,

-Brian

Szalam
Community Expert
Community Expert
February 9, 2017

briank99674728 wrote:

So, any ideas why the original export failed and how Adobe can fix that?

The odd document size?

They can fix it if you file a bug report so they know there's an issue.

File the bug report here: Adobe.com/go/wish

Participant
April 18, 2016

Had the same issue and had no idea what I did wrong in after effects, as soon as I seen the 1st reply to his issue, I knew where to start looking to fix my problem, I was working on some motion graphics and blew up my comp frame so that I could see everything, some of these frames went as high as 40k by 40k, forgot to change them back Lol and got these errors, i changed everything back to main comp size and boom back to normal!! thank you!!

tyrones6486757
Participant
October 10, 2015

I know this is old but I get the same message when trying to link Trapcode MIR fractal to an audio layer I get the same message as above fomr Lou Cheng but my codes at the end are (0x0). (37 ::102)

Participant
July 21, 2015

Hi All,

Just sharing:

I just experienced the similar error message while rushing to meet the crazy deadline of my client's motion graphic project. 

The error had gave me terrible scare, as all my save files (including the incremental saves) were bugged by this error... I thought I am going to die....

Luckily, I have managed to trouble shoot it; it was a silly mistake that caused by my greasy fingers after working more than 12 hours with AE! 

As demonstrated in the following screenshot, I have accidentally set the zoom to 3200%!  Thank goodness I have spotted it!

The error messages will go away once you reset the magnifying ratio to 300% or less.

Hopefully, this can help someone who might face the same problem.

Cheers,

~ Lin

p/s: Although the image-buffer error can cause by the file size of your raw footage, however it is not always true.  Sometimes, it can be caused by the graphic card's limits, as real-time preview (rendering) is always expensive. For instance, the working file of mine that crashes had several complex comps and footages, which it is beyond full HD1080 resolution, and I have fixed the error once I have reset the magnifying ratios.

Btw, I am using a Macbook Pro that has only 16GB RAM to power Adobe AE CC.

Participant
December 29, 2015

Thank you, Lin, that helped!

I've spent about 30 minutes figuring out what's wrong and where to fix it

Participant
November 17, 2012

It just happened to me. It was caused by the Transform Effect plugin (Transform 32). The problem came from nowhere, even if i didn't modified anything.

I removed it and the error message has disapeared.

mr_epic_peterCorrect answer
Participant
July 7, 2012

it sometimes happens to me when the camera is too close to an object like text (think it has to do with resolution changing)

if you move the camera to go a bit further away from an object it should fix the problem

Participant
August 4, 2013

Happened to me with a text animator and enable per-character 3d. The position of my text was too close to my camera position. I was trying to fly text in from behind the camera text animator 3d position.

mr_epic_peter 's comment above helped me understand why I was getting that error. Thanks!

Did you figure out a work around?

I really want to fly my text in from behind the camera.

Community Expert
August 4, 2013

This thread has gotten very off track. The original question about buffer size has been addressed. You need to have your assets come close to matching your composition size. 40,000 pixels is a bunch for video so something is out of whack there. Since we know nothing about the assets except that they are mp4 and about one minute long only assumptions can be made. We assume there's something about the mp4 files that may be causing the problem. No one can be sure because specific details, or even the simple details provided by the info to the right of the preview in the Project Panel when an asset is selected.

There is one key bit of system info that seems to have been overlooked by everyone but Todd. 2 GB ram... That's not even the minimum required for any newer version of AE.

Then somehow we got into moving a camera and that lead to a question about moving text past the camera with a per-character 3D move. That one is easy to answer. You just set up your animator so that the z position of the text is at or beyond the camera's z position. The text animator setup should look like this:

Notice the z position of the camera (-1211.1) and the z position of the text position (-1231) 20 pixels past the camera.... - 1211 would probably have worked too but the 20 extra pixels made sure the text came from behind the camera.

I also answered this once before in a different thread.

So, without further information from lir998 I don't think there's much more we can do to help solve the original problem.