Memory Leak Issue



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


.



Relevant Pages

  • Memory Leak issue
    ... MFC, COM dll, COM ocx, COM server, Windows static lib and windows dynamic ... It is also showing some of the memory leak in the MFC dlls. ... We are measuring the Private bytes for the application using Sysinternals ...
    (microsoft.public.vc.mfc)
  • Re: Server is unable to allocate memory from the System Paged Pool
    ... My guesss is a paged pool memory leak. ... Central Share Causes Server to Crash Generates Event ID 2020 from SRV" ... WQuinn's QuotaAdvisor 4.1 build 452 or earlier on Windows 2000 Server or on ...
    (microsoft.public.win2000.general)
  • Re: Server is unable to allocate memory from the System Paged Pool
    ... My guesss is a paged pool memory leak. ... Central Share Causes Server to Crash Generates Event ID 2020 from SRV" ... WQuinn's QuotaAdvisor 4.1 build 452 or earlier on Windows 2000 Server or on ...
    (microsoft.public.windows.server.general)
  • Re: dns suffix search order on public & private network windows server
    ... 258750 Recommended Private "Heartbeat" Configuration on a Cluster Server ... Windows NT/2000/2003 Cluster Technologies ...
    (microsoft.public.windows.server.clustering)
  • Re: Problem with dns in AD 2003
    ... > I have two AD Windows 2003 Servers with two cards of network a public ... > one and another private for the backup, the problem is when doing ping ... a member server to perform NAT, or routing, etc. ... Microsoft Windows MVP - Windows Server - Directory Services ...
    (microsoft.public.windows.server.dns)