SerializationException when serializing lots of objects in .NET

后端 未结 9 920
深忆病人
深忆病人 2020-12-10 01:41

I\'m running into problems serializing lots of objects in .NET. The object graph is pretty big with some of the new data sets being used, so I\'m getting:

Sy         


        
9条回答
  •  感情败类
    2020-12-10 02:38

    Do you need to fetch all the data at the same time? Thirteen million objects is a lot of information to handle at once.

    You could implement a paging mechanism and fetch the data in smaller chunks. And it might increase the responsiveness of the application, since you wouldn't have to wait for all those objects to finish serializing.

提交回复
热议问题