Blender Git Commit Log

Git Commits -> Revision 00133ba

Revision 00133ba by Sergey Sharybin (master)
February 16, 2015, 22:42 (GMT)
Subsurf: Use guarded allocator for non-arena CCG

Our new guarded allocator implementation has much smaller memory
block size overhead and doesn't have any locks now. So in order
to make fuller track of what's happening in blender and avoid
confusion why certain circumstances reports much less memory than
others we'll now switch to guarded allocator.

This was actually one of the biggest reasons of the confusion in
the recent memory usage investigation. There's still some overhead
is happening due to non-freeing nature of arena allocator but the
things are not nearly as bad as they looked before: memory overhead
is measured in tens of megabytes, not hundreds as it looked before.

Plus with some smarter allocation policy we can almost eliminate this
overhead.

Commit Details:

Full Hash: 00133ba8f098fece41c4f358a57c7ba323214502
Parent Commit: 1e00e87
Lines Changed: +3, -3

1 Modified Path:

/source/blender/blenkernel/intern/CCGSubSurf.c (+3, -3) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021