Hi,
Couple of suggestions. First get fxcop to check your code. It will
find alot of errors for you to fix. Second try a memory profiler like ANTS
from red-gate software maybe that will help to find the error.
http://www.gotdotnet.com/team/fxcop/ http://www.red-gate.com/code_profiling.htm
Ken
--------------------
"Tosch" <tosch_nospam@swissonline.ch> wrote in message
news:sv3el01agu3b3lmqh8980grtpba982gu1d@4ax.com...
I have an application that uses to COM objects and does a complex file
conversion between two different systems.
When converting a large amout of files I'm experiencing a memory leak
resulting in my application eating hundreds of MBs of memory and not
releasing it. This again results in a system being very unstable and
my application finally crashing.
What is the best way to figure out which component is eating up the
memory?
I have already tried to shut down COM components and releasing memory,
setting variables to nothing and all that.
Tosch