Excel does not leave memory

J

John Bailo

John said:
I wrote a c# web service that creates an Excel spreadsheet. Even
though I follow all the formal procedures for closing the app and
finalizing, an instance of Excel still remains in memory. Is this a
problem? With that instance of Excel.exe eventually go away because of GC?

I follow the procedures described here:

http://blogs.geekdojo.net/richardhsu/archive/2003/11/14/281.aspx

I converted this app to a console app, and in this case Excel.exe does
leave the task list.

But when run as a web method, Excel.exe stays there with IUSR_ as the owner.

I'm trying to get rid of this instance once the method ends.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top