std::bad_alloc on frame 1
Closed this issue · 5 comments
Problem
Rendering always immediately fails on a certain project (which involves a transform node being used to pan around a static image)
Expected behavior: Rendering to complete successfully
Actual behavior: Rendering failed
Error log:
-> % ./Misc/Natron/bin/NatronRenderer-bin -d Editing/Bonezone/relics.ntp
Restoring the image cache...
Loading plugin cache...
Info: init.py script not loaded (this is not an error)
Loading PyPlugs...
Loading project: /home/ebrock/Editing/Bonezone/relics.ntp
Write1 ==> Rendering started
Error while rendering: std::bad_alloc
Write1 ==> Rendering finished
Versions
- Natron version 2.3.3
- OS: Void Linux
Thanks in advance
Alright, I've narrowed down the source of the error to the transform node (maybe the scaled image eats too much memory?)
The problem turned out to be the Angle Blur node, which i was forced to remove for the project to render correctly.
Did you try adding a Crop node just after the nodes that expand the RoD a lot (e.g. angleblur)?
AngleBlur generates content outside of the project bounding box.
This should be fixed by NatronGitHub/openfx@19ae07d
Can you please test on the next snapshot?
It was a while ago, but I think I got it to work by cropping it and rendering the project a few hundred frames at a time. I'll try it on the new build when I get a chance.