|
-
May 12th, 2011, 05:16 AM
#1
Memory Management
Hi I've experienced a strange problem in one of the server. That because of high virtual memory paging, When there is too much of load, the memory usuage of that server increases almost touches 100% and even after the load is reduced the memory usuage unnecessarily remains high. So I have to develop an MFC / Win32 application that reduces unnecessary memory occupied or remained trapped somewhere in garbage. How can I accompalish this?
Thanks in Advance
-
May 12th, 2011, 09:40 AM
#2
Re: Memory Management
How do you measure memory usage?
Do you plan to fix memory problems in one app from another app? I am afraid the only way might be to terminate and restart it.
Vlad - MS MVP [2007 - 2012] - www.FeinSoftware.com
Convenience and productivity tools for Microsoft Visual Studio:
FeinWindows - replacement windows manager for Visual Studio, and more...
-
May 12th, 2011, 11:45 PM
#3
Re: Memory Management
Task manager, usually there is load in server and usually the server is free from load. But in task manager every time it is showing 100% load means when the load is free still the memory is not free. So we have to develop some application that should release that memory
-
May 13th, 2011, 02:16 AM
#4
Re: Memory Management
Hi,
So I presume the 100% CPU load and what appears to be a memory leak are both symptoms of a bug in some application or service running on that machine. Alternatively, there is something running on the PC that develops a memory leak whenever the load is 100%, but this seems less likely.
If you need to fix it from a separate program, the only way I can think of will be to identify the application or service then stop and restart it. Of course, this won't actually be a fix, just a workaround which is likely to cause other problems in future.
Do you already know what is causing the 100%CPU load and runaway memory allocation? If so, is there some reason you can't debug that program?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|