[.net] gcAllowVeryLargeObjects Element–beat the 2GB array size limit on 64 bit

Please note that this post is only applicable for .net 4.5 and above.

Having trouble with .net array size limit, i.e. 2GB on a 64 bit target. Use above tag in your config file to work around this issue. A sample config file will look as follows…

<configuration>
  <runtime>
    <gcallowverylargeobjects enabled="true" />
  </runtime>
</configuration></pre>

Please read the docs very carefully, there are some caveats that you should be aware off…

Read More

Appreciate your comments...