From 55ff2558d7a88cba8ba9c1af9c4c26831aaadb82 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sat, 23 Mar 2013 19:04:39 +0000 Subject: Added auto-kill-with-dump to LeakFinder if the allocated memory grows over 1 GiB. Only works on Windows and only present in Debug mode. Produces memdump.xml for analysis. http://forum.mc-server.org/showthread.php?tid=826&pid=6948#pid6948 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1302 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/LeakFinder.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/LeakFinder.h') diff --git a/source/LeakFinder.h b/source/LeakFinder.h index 42af4f910..e63b9ec5d 100644 --- a/source/LeakFinder.h +++ b/source/LeakFinder.h @@ -98,7 +98,8 @@ protected: virtual void OnOutput(LPCSTR szText) { } virtual void OnDbgHelpErr(LPCSTR szFuncName, DWORD gle, DWORD64 addr) { } - FILE *m_fXmlFile; + FILE * m_fXmlFile; + int m_Progress; }; // C++ interface: -- cgit v1.2.3