Excel does not leave memory

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • John Bailo

    #1

    Excel does not leave memory


    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...11/14/281.aspx


  • John Bailo

    #2
    Re: Excel does not leave memory

    John Bailo wrote:
    >
    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...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.

    Comment

    Working...