The Summary of memory usage reported by MemProof.exe of a GTWVG pure console EXE.
1 Std. Handle 00000000 0 GetStdHandle(-10) 1 Std. Handle 00000000 0 GetStdHandle(-11) 1 Std. Handle 00000000 0 GetStdHandle(-12) 1 Critical Section 6C440024 0 InitializeCriticalSection 1 Thread Local Storage 0000001B 0 TlsAlloc 1 Local Heap 0020EFE8 8 LocalAlloc(0,8) 1 Local Heap 001D0A18 16 LocalAlloc(64,16) 1 Global Heap 01C90004 256 GlobalAlloc(8194,256) 1 Local Heap 0014BE48 280 LocalAlloc(64,280) 16 Virtual Memory 02C40000 4096 VirtualAlloc(02C40000,4096,4096,4) And this is the detail. 1 Virtual Memory 02C40000 4096 VirtualAlloc(02C40000,4096,4096,4) 004E0D96 c:\projectshrb\cachemgr\bin\cachemgr.exe 004E173C c:\projectshrb\cachemgr\bin\cachemgr.exe 004E1703 c:\projectshrb\cachemgr\bin\cachemgr.exe 004E0F44 c:\projectshrb\cachemgr\bin\cachemgr.exe 004E0EA4 c:\projectshrb\cachemgr\bin\cachemgr.exe 004E9216 c:\projectshrb\cachemgr\bin\cachemgr.exe 004E99E6 c:\projectshrb\cachemgr\bin\cachemgr.exe 2 Virtual Memory 02C41000 4096 VirtualAlloc(02C41000,4096,4096,4) 3 Virtual Memory 02C42000 4096 VirtualAlloc(02C42000,4096,4096,4) 4 Virtual Memory 02C43000 4096 VirtualAlloc(02C43000,4096,4096,4) 5 Virtual Memory 02C44000 4096 VirtualAlloc(02C44000,4096,4096,4) 6 Virtual Memory 02C45000 4096 VirtualAlloc(02C45000,4096,4096,4) 7 Virtual Memory 02C46000 4096 VirtualAlloc(02C46000,4096,4096,4) 8 Virtual Memory 02C47000 4096 VirtualAlloc(02C47000,4096,4096,4) 9 Virtual Memory 02C48000 4096 VirtualAlloc(02C48000,4096,4096,4) 10 Virtual Memory 02C49000 4096 VirtualAlloc(02C49000,4096,4096,4) 11 Virtual Memory 02C4A000 4096 VirtualAlloc(02C4A000,4096,4096,4) 12 Virtual Memory 02C4B000 4096 VirtualAlloc(02C4B000,4096,4096,4) 13 Virtual Memory 02C4C000 4096 VirtualAlloc(02C4C000,4096,4096,4) 14 Virtual Memory 02C4D000 4096 VirtualAlloc(02C4D000,4096,4096,4) 15 Virtual Memory 02C4E000 4096 VirtualAlloc(02C4E000,4096,4096,4) 16 Virtual Memory 02C4F000 4096 VirtualAlloc(02C4F000,4096,4096,4) 17 Std. Handle 00000000 0 GetStdHandle(-10) 004E3F77 c:\projectshrb\cachemgr\bin\cachemgr.exe 004E99E6 c:\projectshrb\cachemgr\bin\cachemgr.exe 18 Std. Handle 00000000 0 GetStdHandle(-11) 004E3F83 c:\projectshrb\cachemgr\bin\cachemgr.exe 004E99E6 c:\projectshrb\cachemgr\bin\cachemgr.exe 19 Std. Handle 00000000 0 GetStdHandle(-12) 004E3F8F c:\projectshrb\cachemgr\bin\cachemgr.exe 004E99E6 c:\projectshrb\cachemgr\bin\cachemgr.exe 9581 Thread Local Storage 0000001B 0 TlsAlloc 6C37A3C6 Ordinal546 C:\Program Files\DAP\MFC42.DLL 7E4318DE UnhookWinEvent C:\WINDOWS\system32\USER32.dll 7E41F7F1 EnableMenuItem C:\WINDOWS\system32\USER32.dll 7E4301F3 ScrollWindowEx C:\WINDOWS\system32\USER32.dll 7C90EADE KiUserCallbackDispatcher C:\WINDOWS\system32\ntdll.dll 774FEE83 CoUninitialize C:\WINDOWS\system32\OLE32.DLL 7C9011A2 LdrInitializeThunk C:\WINDOWS\system32\ntdll.dll 7C923F2C LdrShutdownProcess C:\WINDOWS\system32\ntdll.dll 7C81CD71 IsValidLocale C:\WINDOWS\system32\kernel32.dll 7C81CDE9 ExitProcess C:\WINDOWS\system32\kernel32.dll 9582 Critical Section 6C440024 0 InitializeCriticalSection 6C37A3DB Ordinal546 C:\Program Files\DAP\MFC42.DLL 7E4318DE UnhookWinEvent C:\WINDOWS\system32\USER32.dll 7E41F7F1 EnableMenuItem C:\WINDOWS\system32\USER32.dll 7E4301F3 ScrollWindowEx C:\WINDOWS\system32\USER32.dll 7C90EADE KiUserCallbackDispatcher C:\WINDOWS\system32\ntdll.dll 774FEE83 CoUninitialize C:\WINDOWS\system32\OLE32.DLL 7C9011A2 LdrInitializeThunk C:\WINDOWS\system32\ntdll.dll 7C923F2C LdrShutdownProcess C:\WINDOWS\system32\ntdll.dll 7C81CD71 IsValidLocale C:\WINDOWS\system32\kernel32.dll 7C81CDE9 ExitProcess C:\WINDOWS\system32\kernel32.dll 9584 Global Heap 01C90004 256 GlobalAlloc(8194,256) 9585 Local Heap 0014BE48 280 LocalAlloc(64,280) 6C375EB3 Ordinal824 C:\Program Files\DAP\MFC42.DLL 6C371066 Ordinal3030 C:\Program Files\DAP\MFC42.DLL 7E4318DE UnhookWinEvent C:\WINDOWS\system32\USER32.dll 7E41F7F1 EnableMenuItem C:\WINDOWS\system32\USER32.dll 7E4301F3 ScrollWindowEx C:\WINDOWS\system32\USER32.dll 7C90EADE KiUserCallbackDispatcher C:\WINDOWS\system32\ntdll.dll 774FEE83 CoUninitialize C:\WINDOWS\system32\OLE32.DLL 7C9011A2 LdrInitializeThunk C:\WINDOWS\system32\ntdll.dll 7C923F2C LdrShutdownProcess C:\WINDOWS\system32\ntdll.dll 7C81CD71 IsValidLocale C:\WINDOWS\system32\kernel32.dll 7C81CDE9 ExitProcess C:\WINDOWS\system32\kernel32.dll 9586 Local Heap 001D0A18 16 LocalAlloc(64,16) 6C375EB3 Ordinal824 C:\Program Files\DAP\MFC42.DLL 6C371076 Ordinal3030 C:\Program Files\DAP\MFC42.DLL 7E4318DE UnhookWinEvent C:\WINDOWS\system32\USER32.dll 7E41F7F1 EnableMenuItem C:\WINDOWS\system32\USER32.dll 7E4301F3 ScrollWindowEx C:\WINDOWS\system32\USER32.dll 7C90EADE KiUserCallbackDispatcher C:\WINDOWS\system32\ntdll.dll 774FEE83 CoUninitialize C:\WINDOWS\system32\OLE32.DLL 7C9011A2 LdrInitializeThunk C:\WINDOWS\system32\ntdll.dll 7C923F2C LdrShutdownProcess C:\WINDOWS\system32\ntdll.dll 7C81CD71 IsValidLocale C:\WINDOWS\system32\kernel32.dll 7C81CDE9 ExitProcess C:\WINDOWS\system32\kernel32.dll 9588 Local Heap 0020EFE8 8 LocalAlloc(0,8) 6C375F62 Ordinal6184 C:\Program Files\DAP\MFC42.DLL 6C371076 Ordinal3030 C:\Program Files\DAP\MFC42.DLL 7E4318DE UnhookWinEvent C:\WINDOWS\system32\USER32.dll 7E41F7F1 EnableMenuItem C:\WINDOWS\system32\USER32.dll 7E4301F3 ScrollWindowEx C:\WINDOWS\system32\USER32.dll 7C90EADE KiUserCallbackDispatcher C:\WINDOWS\system32\ntdll.dll 774FEE83 CoUninitialize C:\WINDOWS\system32\OLE32.DLL 7C9011A2 LdrInitializeThunk C:\WINDOWS\system32\ntdll.dll 7C923F2C LdrShutdownProcess C:\WINDOWS\system32\ntdll.dll 7C81CD71 IsValidLocale C:\WINDOWS\system32\kernel32.dll 7C81CDE9 ExitProcess C:\WINDOWS\system32\kernel32.dll I do not know how to analyze it. But certaily there is something worth investgation. Can someone point me what and where to look into. Just for information, I fixed a lot of resource leaks in GTWVT and GTWVG by investigating above call-stacks. Regards Pritpal Bedi, INDIA-USA -- View this message in context: http://www.nabble.com/MemProof.exe---A-case-study-tp17464215p17464215.html Sent from the Harbour - Dev mailing list archive at Nabble.com. _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour