Can you use List> to get around the 2gb object limit?

后端 未结 5 958
逝去的感伤
逝去的感伤 2021-02-18 22:28

I\'m running up against the 2gb object limit in c# (this applies even in 64 bit for some annoying reason) with a large collection of structs (est. size of 4.2 gig in total).

5条回答
  •  悲&欢浪女
    2021-02-18 23:07

    There's an interesting post around this subject here:

    http://blogs.msdn.com/b/joshwil/archive/2005/08/10/450202.aspx

    Which talks about writing your own 'BigArray' object.

提交回复
热议问题