memory leaks...
-
Guys: I know my program leaks memory. Win32 documentation says, the leaked memory will be acquired by win32 OS once the leaking process terminates. Is it true? If it is so, how do I make sure that the OS 'really' acquired the leaked bytes? Is there any tool which shows the memory size before and after? Is the "Mem Usage" in Performance tab of NT-Task Manager indicates this?
-
Guys: I know my program leaks memory. Win32 documentation says, the leaked memory will be acquired by win32 OS once the leaking process terminates. Is it true? If it is so, how do I make sure that the OS 'really' acquired the leaked bytes? Is there any tool which shows the memory size before and after? Is the "Mem Usage" in Performance tab of NT-Task Manager indicates this?
There is nothing you need to do to make sure. All pages assigned to your process will be released. End of story. I guess my question is what leads you to believe pages are not getting returned? Or are you just making sure? Tim Smith I know what you're thinking punk, you're thinking did he spell check this document? Well, to tell you the truth I kinda forgot myself in all this excitement. But being this here's CodeProject, the most powerful forums in the world and would blow your head clean off, you've got to ask yourself one question, Do I feel lucky? Well do ya punk?
-
Guys: I know my program leaks memory. Win32 documentation says, the leaked memory will be acquired by win32 OS once the leaking process terminates. Is it true? If it is so, how do I make sure that the OS 'really' acquired the leaked bytes? Is there any tool which shows the memory size before and after? Is the "Mem Usage" in Performance tab of NT-Task Manager indicates this?
-
There is nothing you need to do to make sure. All pages assigned to your process will be released. End of story. I guess my question is what leads you to believe pages are not getting returned? Or are you just making sure? Tim Smith I know what you're thinking punk, you're thinking did he spell check this document? Well, to tell you the truth I kinda forgot myself in all this excitement. But being this here's CodeProject, the most powerful forums in the world and would blow your head clean off, you've got to ask yourself one question, Do I feel lucky? Well do ya punk?
Tim: I just want to make sure. Thats all. Thanks for your reply.
-
right. mIchAel Liu __________________________________________________________ The secret of business is to know something that nobody else knows. ;)