Tweaked LeakFinder for VC2012 debug build (too much housekeeping info allocated)
http://forum.mc-server.org/showthread.php?tid=826&pid=6974#pid6974 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1314 0a769ca7-a7f5-676a-18bf-c427514a06d6master
parent
f536011f97
commit
172343e86f
|
@ -113,8 +113,20 @@
|
|||
#endif
|
||||
|
||||
|
||||
/* _X: MSVC 2012 (MSC 1700) seems to use a different allocation scheme for STL containers,
|
||||
* allocating lots of small objects and running out of memory very soon
|
||||
* Thus for MSVC 2012 we cut the callstack buffer length in half
|
||||
*/
|
||||
// Controlling the callstack depth
|
||||
#define MAX_CALLSTACK_LEN_BUF 0x2000
|
||||
#if (_MSC_VER < 1700)
|
||||
#define MAX_CALLSTACK_LEN_BUF 0x2000
|
||||
#else
|
||||
#define MAX_CALLSTACK_LEN_BUF 0x1000
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#define IGNORE_CRT_ALLOC
|
||||
|
||||
|
|
Loading…
Reference in New Issue