By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,696 Members | 1,225 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,696 IT Pros & Developers. It's quick & easy.

How to find memory leak

P: n/a
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
Nov 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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" <to**********@swissonline.ch> wrote in message
news:sv********************************@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
Nov 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.