July 5, 2018

Use of gcAllowVeryLargeObjects

To allow he creation of very large arrays, lists etc. insert
<configuration>  
  <runtime>  
    <gcAllowVeryLargeObjects enabled="true" />  
  </runtime>  
</configuration>
in the application config file. This only works for 64 bit applications! This could also cause problems when unit testing because you need to ensure your test runner is running in 64 bit mode with the given entry within the test runner's config file.

No comments: