Blender Git Commit Log

Git Commits -> Revision bbcb9c6

Revision bbcb9c6 by Sergey Sharybin (master)
April 13, 2016, 12:25 (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: bbcb9c68c938980b780e92f8dcc68d5fc5359e10
Parent Commit: 9604db7
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