summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkeyboard.osh@gmail.com <keyboard.osh@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-03-24 17:49:55 +0100
committerkeyboard.osh@gmail.com <keyboard.osh@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-03-24 17:49:55 +0100
commit513d67025f5090c8e132b6c75a7f2b031b773c68 (patch)
tree998d9d578f5f35dc91e3b34ce68d8fe1e529d1ca
parentMade MultiStepMap BioGen the default (diff)
downloadcuberite-513d67025f5090c8e132b6c75a7f2b031b773c68.tar
cuberite-513d67025f5090c8e132b6c75a7f2b031b773c68.tar.gz
cuberite-513d67025f5090c8e132b6c75a7f2b031b773c68.tar.bz2
cuberite-513d67025f5090c8e132b6c75a7f2b031b773c68.tar.lz
cuberite-513d67025f5090c8e132b6c75a7f2b031b773c68.tar.xz
cuberite-513d67025f5090c8e132b6c75a7f2b031b773c68.tar.zst
cuberite-513d67025f5090c8e132b6c75a7f2b031b773c68.zip
-rw-r--r--source/LeakFinder.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/LeakFinder.cpp b/source/LeakFinder.cpp
index aa7848b65..df4aff613 100644
--- a/source/LeakFinder.cpp
+++ b/source/LeakFinder.cpp
@@ -108,7 +108,7 @@
#include "LeakFinder.h"
// Currently only tested with MS VC++ 5 to 10
-#if (_MSC_VER < 1100) || (_MSC_VER > 1600)
+#if (_MSC_VER < 1100) || (_MSC_VER > 1700)
#error Only MS VC++ 5/6/7/7.1/8/9 supported. Check if the '_CrtMemBlockHeader' has not changed with this compiler!
#endif
@@ -887,7 +887,7 @@ static int MyAllocHook(int nAllocType, void *pvData,
{
g_CurrentMemUsage += nSize;
- if (g_CurrentMemUsage > 1024 * 1024 * 1024)
+ if (g_CurrentMemUsage > 65970823)//1024 * 1024 * 1024)
{
printf("******************************************\n");
printf("** Server reached 1 GiB memory usage, **\n");