Re: Memory Leak

Tech-Archive recommends: Fix windows errors by optimizing your registry




"Cor Ligthert[MVP]" <notmyfirstname@xxxxxxxxx> wrote in message
news:195BA553-ECD7-4241-947B-3C73E8021294@xxxxxxxxxxxxxxxx
Peter,

Always the first questions on Memory Leaks in the dotnet newsgroup

How do you know that there is a Memory Leak?

Cor

"Peter" <czupet@xxxxxxxxxxxxx> schreef in bericht
news:OSW0fZc0IHA.3756@xxxxxxxxxxxxxxxxxxxxxxx
I am using VS2008.

I have a Windows Service application which creates Crystal Reports. This
is a multi theaded application which can run several reports at one time.
My problem - there is a memory leak someplace. I can not detect the
memory leak by running several reports by hand, but when I run tha app as
a servrice and process few hundred reports there is significant memory
leak. The application can consume over 1GB of memory where it should not
go over 200 mb. I have few other applications that use Crystal Reports
and those applications do not have memory leak, the big difference is
those applications are single threaded.

My question is are there any free tools I can use to find the memory
leak?

I have tried http://www.softprodigy.com but I could not get it to work it
just locks up.

Thank You


Peter



I do not know if it's the memory leak - that's what I am trying to find out.

The reason I am starting with this assumption is because when I look at the
"Mem Usage" in the Windows Task Manager the memory keeps growing and never
ever goes down and eventually the system goes to a craw until I restart the
application. Plus my other simullar applications when they run the "Mem
Usage" goes up and down and eventually goes back to the almost original
starting number when the applications is not processing anything.



.



Relevant Pages

  • Memory Leak
    ... I have a Windows Service application which creates Crystal Reports. ... My problem - there is a memory leak someplace. ... I have few other applications that use Crystal Reports and those ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: malloc trouble
    ... Hmm...how would I do the realloc later then if the space was never ... > lead to an immediate exit, as per the code below), you should assign the ... > memory leak as you've lost the pointer to the original buffer. ... that you mean memory that was never freed for other applications to ...
    (comp.lang.c)
  • Re: A problem about win mobile
    ... app) that is causing the OS to forcibly shut down applications? ... The OS doesn't close apps due to low power conditions. ... then results in memory leak in os. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Tuning: which applications are writing too much
    ... our applications - or some of them - are generating more data than our hardware can stomach. ... a memory leak in the SGA, but an "order by" clause seemed ...
    (comp.databases.oracle.server)
  • Re: Memory leak in Office 2008?
    ... Thanks very much, John, for the heads-up on the Progress Window. ... My memory leak returned this morning. ... Because I had un-installed other recently installed applications, ... I was just about to do an erase-and-clean install of Leopard and re-install ...
    (microsoft.public.mac.office)