Max size for maxItemsInObjectGraph RRS feed

  • Question

  • By default maxItemsInObjectGraph size is 65536. User can set it to 2147483646.

    Is there any performance problem while setting maxItemsInObjectGraph to 2147483646.

    If not then why Microsoft not set default to 2147483646?

    Monday, January 31, 2011 9:46 AM


  • MIIOG is one of the quotas which protects a (bad) client from sending a request which will cause a large resource (memory, mostly) allocation in the service. It's more of a security issue than a performance one. You can find more details at http://msdn.microsoft.com/en-us/library/ms733135.aspx.

    • Proposed as answer by Tanvir Huda Tuesday, February 1, 2011 1:15 AM
    • Marked as answer by Yi-Lun Luo Friday, February 4, 2011 9:13 AM
    Monday, January 31, 2011 11:58 PM