Getting an OutOfMemoryException while serialising to JSON?

前端 未结 3 1773
青春惊慌失措
青春惊慌失措 2020-12-11 15:43

I am serializing , a MultiDictionary

http://powercollections.codeplex.com/ to json .

It has 618 elements with elements bein

3条回答
  •  执笔经年
    2020-12-11 16:23

    It appears that you're running into Ciruclar Reference that is causing OutOfMemoryException or your objects are simply too large for your memory. Use NDepend to check this.

    You might find useful getting the total size of your objects.

提交回复
热议问题