MDI app - CDocument - Memory release
-
Hi guys I developed an application in MDI, I want to know .. i open an new document and close it.. the memory for that document be released...i checked in task manager , it dosent show any release of memory..how shld i find out or wat functions shld i call to release the memory for the document Thanks krithika
-
Hi guys I developed an application in MDI, I want to know .. i open an new document and close it.. the memory for that document be released...i checked in task manager , it dosent show any release of memory..how shld i find out or wat functions shld i call to release the memory for the document Thanks krithika
TaskManager may not show any change; the memory may be in a heap ready for your app to reuse, but the heap itself has not been shrunk. The framework will use DeleteContents(), which should clear any member variables in your document. If you exit, then a debug build will generally show you common memory leaks if you're running under a debugger. Steve S
-
TaskManager may not show any change; the memory may be in a heap ready for your app to reuse, but the heap itself has not been shrunk. The framework will use DeleteContents(), which should clear any member variables in your document. If you exit, then a debug build will generally show you common memory leaks if you're running under a debugger. Steve S
Thank you steve Krithika