Page MenuHome

Freestyle excess memory usage? Crash
Closed, DuplicatePublic


System Information
Operating system: Windows-10-10.0.18362 64 Bits
Graphics card: GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 436.48

Blender Version
Broken: version: 2.81 (sub 16), branch: master, commit date: 2019-10-31 19:29, hash: rB78ad368d12d8
32GB memory on Motherboard
Worked: (optional)

Short description of error
Same scene that I have been trying to Render in Freestyle, (also fails in LANPR)
It is a large landscape, with characters, leaves, grass, fur, etc. 1920x1080px
Small slices (Render Region) shouldn't use the same amount of RAM and crash as the full scene

Exact steps for others to reproduce the error
Attempting to get a Line Render using Freestyle. I have successively reduced the Render Zone, as it crashes on the full scene, Crashed on 1/2 scene, 1/3 scene, and currently stuck in Freestyle: View map creation at 1/5 slice of the scene, using 97%-99% of available RAM?? It seems to be trying to make a View map of the entire scene, instead of just the subset slice. I was going to send it to a Render Farm to do in Tiles, but Freestyle doesn't seem to be conducive to using less memory on smaller subsets?? How to proceed??
Went to bed, checked three(3) hours later, CRASH. I gently complained on "Blender Today" and Dalai Felinto and Pablo Vasquez, both said it sounded like a bug, and submit it!! Line Rendering needs to work reliably.
I am attaching an example of the Render Region I am attempting to render with Freestyle, shown in MatCap on far left edge.



Event Timeline

Freestyle is known to have poor memory usage and performance with a lot of geometry. While this could be optimized, Freestyle is no longer being actively developed and more likely is that LANPR will replace it.

In general, border render also does not mean only a subset of the scene can be rendered, because there are interactions with lines off screen as well.