none
IIS Site Not Releasing Memory with References to Microsoft.Owin, Microsoft.XLangs.BaseTypes and System.Xml RRS feed

  • Question

  • We have an IIS site that provides a service for mapping an input document into an xml file that gets processed by another service. From the beginning of this year we have noticed that the site has been consuming memory but not really releasing memory and as a result when it tries to consume more memory than the server can handle it forces the server to restart.

    The site uses Microsoft.Owin version 4.0.1 to handle requests. When input documents are converted to an xml file, the Microsoft.XLANGs.BaseTypes library is referenced for helper functions with the BizTalk transforms.

    We believe the culprit is the .Net Framework's System.Xml.dll when dealing with the System.Xml.Xsl.XslCompiledTransform class.

    The framework version is version that’s installed on the host server is 4.6.2.

    Has anyone ran into an issue like this or know if there’s a solution like upgrading the .Net Framework version?

    Or should we be looking at putting in more object disposing in our code?

    Thanks

    Thursday, July 18, 2019 9:47 PM

Answers

  • Hi qm403, 

    Thank you for posting here.

    According to your description, your issue is more related to IIS. Therefore, it will be more appropriate to ask your question in IIS Forums.

    The CLR Forum discuss and ask questions about .NET Framework Base Classes (BCL) such as Collections, I/O, Regigistry, Globalization, Reflection. Also discuss all the other Microsoft libraries that are built on or extend the .NET Framework, including Managed Extensibility Framework (MEF), Charting Controls, CardSpace, Windows Identity Foundation (WIF), Point of Sale (POS), Transactions.

    Thank you for your understanding.

    Best Regards,

    Xingyu Zhao


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    • Marked as answer by qm403 Friday, July 19, 2019 5:15 PM
    Friday, July 19, 2019 8:09 AM
    Moderator

All replies

  • Hi qm403, 

    Thank you for posting here.

    According to your description, your issue is more related to IIS. Therefore, it will be more appropriate to ask your question in IIS Forums.

    The CLR Forum discuss and ask questions about .NET Framework Base Classes (BCL) such as Collections, I/O, Regigistry, Globalization, Reflection. Also discuss all the other Microsoft libraries that are built on or extend the .NET Framework, including Managed Extensibility Framework (MEF), Charting Controls, CardSpace, Windows Identity Foundation (WIF), Point of Sale (POS), Transactions.

    Thank you for your understanding.

    Best Regards,

    Xingyu Zhao


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    • Marked as answer by qm403 Friday, July 19, 2019 5:15 PM
    Friday, July 19, 2019 8:09 AM
    Moderator
  • Thanks, I put this question in the IIS Forums.

    • Edited by qm403 Friday, July 19, 2019 5:15 PM
    Friday, July 19, 2019 5:14 PM