Blender Git Commit Log

Git Commits -> Revision cabd34c

Revision cabd34c by Sergey Sharybin (temp-curve-draw)
April 14, 2016, 02:04 (GMT)
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.

Commit Details:

Full Hash: cabd34c1c7da3ff262ff456708145abddc84d6fa
Parent Commit: 623361a
Committed By: Campbell Barton
Lines Changed: +3, -1

2 Modified Paths:

/intern/cycles/bvh/bvh_build.cpp (+1, -1) (Diff)
/intern/cycles/bvh/bvh_split.cpp (+2, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021