Re: MDAC memory leak



The application is a multithreaded exe involving socket communication. The
memory usage in task manager increases when exe is running. It never comes
down. In other words, for each thread it increases and never comes down even
after that thread dies.

Thanks,
Digvijay

"Joseph M. Newcomer" wrote:

How do you detect that there is a memory leak? You assert this is happening without
explaining why you think it is so.
joe
On Thu, 1 May 2008 05:11:01 -0700, App shows memory leak on some machines. <App shows
memory leak on some machines.@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

Hi,

My application (developed in VC++) is running fine on most of the
machines(without any memory leak). But, it is showing memory leaks on
production machine. Even on development side it is showing memory leaks on
few machine. Why it is so?

Hardware configuration of these machines are different. But, I think this
difference should not create any memory leak in application.

My application is using database communication and socket communication APIs.

Is there any relation bet Hardware configuration and MDAC version?????
Is MDAC 2.82.3959.0 having memory leak problems??

I've checked my code several times with different APIs and tools, but it has
no memory leak. Please help me solving the problem. I've tried to solve
problem in many ways for a long time, but not getting any output.

MDAC versions on these machines are mentioned below.
Development machine : 2.81.1128.0
Production machines : 2.82.3959.0

OS : XP SP2, Windows 2003 server
Joseph M. Newcomer [MVP]
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm

.



Relevant Pages

  • Re: Memory leak with RtlAllocateHeap in ntdll.dll
    ... describing a memory leak in system non-paged pool. ... you've destroyed all your buffers, tracking structures, ... the call to setsockopt(). ... is directly related to socket communication because I can watch the memory ...
    (microsoft.public.win32.programmer.networks)
  • Re: MDAC memory leak
    ... The task manager may suggest that memory usage is increasing (it is one of the few valid ... machines(without any memory leak). ... My application is using database communication and socket communication APIs. ... Is there any relation bet Hardware configuration and MDAC version????? ...
    (microsoft.public.vc.mfc)
  • Re: MDAC memory leak
    ... Go to the Options menu and select "Replace Task Manager" and Process ... "App shows memory leak on some machines." ... Is there any relation bet Hardware configuration and MDAC ...
    (microsoft.public.vc.mfc)
  • Re: MDAC memory leak
    ... The task manager may suggest that memory usage is increasing (it is one of the few valid ... common error I've found in multithreaded leaks is stack leakage). ... machines(without any memory leak). ... Is there any relation bet Hardware configuration and MDAC version????? ...
    (microsoft.public.vc.mfc)
  • MDAC memory leak
    ... production machine. ... Even on development side it is showing memory leaks on ... difference should not create any memory leak in application. ... Is there any relation bet Hardware configuration and MDAC version????? ...
    (microsoft.public.vc.mfc)

Loading