Memory Leak Issue
- From: MiTz <MiTz@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 15 Aug 2006 08:47:02 -0700
Hi
I am having the product which is implemented in the following Microsoft
technologies
MFC, COM dll, COM ocx , COM server, Windows static lib and windows dynamic
library
Product functionality
The application is the real-time interface for monitoring and managing
alerts from server. The product is a Windows-based system management console
for managing event information. The presentation layer displays the alerts
coming from the Server. The incoming alert rate is 3-4 alerts/sec. So
continually some alerts are coming in and also going out from the application.
I need help in two aspects
We are running the application with Rational purify plus to remove the
memory leak. It is also showing some of the memory leak in the MFC dlls.
Some are like
[W] MLK: Memory leak of 1036 bytes from 43 blocks allocated in
C:\WINNT\system32\MFC42uD.DLL
[W] MLK: Memory leak of 192 bytes from 3 blocks allocated in
DllUnregisterServer [MFCO42uD.DLL]
i. How to remove the above errors? Is there any patch or upgraded
version of dll can be used in the application?
ii. Can we ignore the above memory leak?
We are measuring the Private bytes for the application using Sysinternals
Process Explorer tool. Link for Sysinternals Process Explorer:
http://www.sysinternals.com/Utilities/ProcessExplorer.html
i. The Private bytes are
continually increasing with the time. Is it the normal behavior of the kind
of application we are having?
ii. How it will affect to
memory consumption over a period of time?
iii. If I restart my
application Private bytes are again normalized. Is there any other way, we
can control the private bytes?
We have also run Peformance Monitor counters for Memory and process where we
saw handle count , private bytes are showing increasing trend whereas
Available bytes are exhausted
We have also enabled poolmon but not sure how to find out leak
Will appreciate a little help on this issue
Thanks & Regards,
-Mitul
.
- Follow-Ups:
- Re: Memory Leak Issue
- From: Oleg Starodumov
- Re: Memory Leak Issue
- Prev by Date: Re: How to disable "Debug Assertion Failed" dialog.
- Next by Date: Re: Memory Leak Issue
- Previous by thread: How to disable "Debug Assertion Failed" dialog.
- Next by thread: Re: Memory Leak Issue
- Index(es):
Relevant Pages
|