diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-04-13 15:22:53 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-04-13 15:25:21 +0300 |
commit | bbcb9c68c938980b780e92f8dcc68d5fc5359e10 (patch) | |
tree | 6da7650bfab42d7b86c8756f8ef5318f9865544e /source/blender/editors/space_view3d | |
parent | 9604db76505fb832252776810edc430c9159542a (diff) |
Cycles: Resolve ridiculous amount of memory used by spatial split builder
This was only visible on systems with lots of threads and root of the issue
was that we've been pre-allocating too much memory for all the threads.
Now we only pre-allocate data for the main thread and rest of the threads
does allocation on-demand.
This brings down memory usage from 36Gig to 6.9Gig when building spatial
split for the Bunny.blend file on our Intel beast.
Originally regression was happened by the threaded spacial split builder
commit.
Diffstat (limited to 'source/blender/editors/space_view3d')
0 files changed, 0 insertions, 0 deletions