[sldev] Optimization via _set_sbh_threshold

Nicholaz Beresford nicholaz at blueflash.cc
Wed Jun 13 03:15:05 PDT 2007


I was looking around a bit more.

The way I understand it from 
http://msdn2.microsoft.com/en-us/library/a6x53890(VS.71).aspx

(( By default, the small-block heap is not used on Windows 2000 and 
later platforms, though _set_sbh_threshold can be called with a nonzero 
value to enable the small-block heap in those instances. ))

They disabled it by default on W2000 and later but it can be enabled.


Also, looking at this thread
http://www.groupsrv.com/dotnet/about140748.html

especially

http://www.groupsrv.com/dotnet/post-465784.html#465784

it does seem to make an impact on applications with lots of
small memory chunks.



Nick





More information about the SLDev mailing list