Increasing MaxBodyBufferSize RRS feed

  • Question

  • I have a HTML report that exceeds 10Mb.  Unfortunatelly, it has to be parsed.  At the moment the users see a 500 error page when they request the report.

    I'm looking at increasing the registry entry for MaxBodyBufferSize.  Technet warns this should be kept to the lowest possible value, otherwise the system is likely to run out of memory.

    I was wondering, does IAG always allocate the full buffer size to each response it parses.  I.e. if I increase the MaxBodyBufferSize to a ridiculous 100Mb, and I have 20 concurrent responses would IAG then use 2Gb of memory?

    Thursday, April 1, 2010 10:02 AM


  • The buffer is allocated, yes, so this should be carefully planned. It's somewhat unlikely that all users will be reading the same file, but it's definitely something that you need to consider. 2GB is not that much memory these days, of course, but depending on your appliance, it could be an issue.

    Ben Ari
    Microsoft CSS IAG Support
    Sammamish, WA
    • Marked as answer by Erez Benari Tuesday, April 13, 2010 11:53 PM
    Tuesday, April 13, 2010 11:53 PM