locked
WCF System.OutOfMemoryException RRS feed

  • Question

  • User722039657 posted

    Hi,

    I am getting System.OutOfMemoryException in WCF when record count increases a certain limit. How do I handle that?

    Sunday, November 1, 2020 6:54 AM

Answers

  • User1686398519 posted

    Hi Senthil S R, 

    The exception that is thrown when there is not enough memory to continue the execution of a program.

    There are several possible causes of this exception, you can check and modify your code according to the tips in this link.

    Best Regards,

    YihuiSun

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, November 3, 2020 7:29 AM

All replies

  • User475983607 posted

    I am getting System.OutOfMemoryException in WCF when record count increases a certain limit. How do I handle that?

    A few if options are...

    • Review the code.  Make sure the code makes efficient use of memory.    
    • Restrict the number of records returned.
    • Increase memory.
    • Share the code with your peers or here on the forum for a code review.
    Sunday, November 1, 2020 4:17 PM
  • User1686398519 posted

    Hi Senthil S R, 

    The exception that is thrown when there is not enough memory to continue the execution of a program.

    There are several possible causes of this exception, you can check and modify your code according to the tips in this link.

    Best Regards,

    YihuiSun

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, November 3, 2020 7:29 AM