Blender Git Loki
Git Commits -> Revision 5494683
Revision 5494683 by Sergey Sharybin (master) November 9, 2018, 16:53 (GMT) |
Cycles: Free Blender side data as soon as we don't need it Currently this is possible after built-in images are loaded in memory. Allows to save memory used by dependency graph and copy-on-write. In practice this lowers peak system memory usage from 52GB to 42GB on a production file of spring 03_035_A.lighting. Note, that this only applies to F12 and command line renders. Bigger note, that this optimization is currently only possible if there are no grease pencil objects to be rendered. |
Commit Details:
Full Hash: 549468365157a075949f2d4b8d9496ff719cefbf
Parent Commit: cbbf991
Lines Changed: +53, -2
5 Modified Paths:
/intern/cycles/blender/blender_session.cpp (+17, -0) (Diff)
/intern/cycles/blender/blender_session.h (+9, -0) (Diff)
/source/blender/makesrna/intern/rna_render.c (+3, -0) (Diff)
/source/blender/render/extern/include/RE_engine.h (+2, -0) (Diff)
/source/blender/render/intern/source/external_engine.c (+22, -2) (Diff)
/intern/cycles/blender/blender_session.h (+9, -0) (Diff)
/source/blender/makesrna/intern/rna_render.c (+3, -0) (Diff)
/source/blender/render/extern/include/RE_engine.h (+2, -0) (Diff)
/source/blender/render/intern/source/external_engine.c (+22, -2) (Diff)