Click here to Skip to main content
15,887,416 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
We have an ASP.NET application,which is used for reporting. In this application lots of excel objects are being creating. It is affecting the performance of the application. So I need to do a POC to find out how much memory an excel objet is consuming.

Could some one please help me to give me a pointer tohow to use CLR profiler to analyze the memory consumption of different objects(I am interested in how much memory is used by the excel object.)

Thanks,
Subheesh Paul
Posted
Updated 25-May-10 4:53am
v2

This[^] should help.

BTW, you should dispose the objects you have created whenever you are done using them. You can do this using Marshal.ReleaseComObject method (for excel interop objects).
 
Share this answer
 
If you are interested in having a look at the CLR profiling services rather than the CLR profiler tool - have a look here.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900