WCF - How to Increase Message Size Quota

后端 未结 13 1808
失恋的感觉
失恋的感觉 2020-11-22 06:16

I have a WCF Service which returns 1000 records from database to the client. I have an ASP.NET WCF client (I have added service reference in asp.net web application project

相关标签:
13条回答
  • 2020-11-22 07:17

    Another important thing to consider from my experience..

    I would strongly advice NOT to maximize maxBufferPoolSize, because buffers from the pool are never released until the app-domain (ie the Application Pool) recycles.

    A period of high traffic could cause a lot of memory to be used and never released.

    More details here:

    • https://stackoverflow.com/a/19953113/496676
    • http://andriybuday.com/2011/08/wcf-configuration-caused-memory-leaks.html
    0 讨论(0)
提交回复
热议问题