Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/arrays/12.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 在哪里设置<;gcAllowVeryLargeObjects>;?_C#_Arrays_Mono - Fatal编程技术网

C# 在哪里设置<;gcAllowVeryLargeObjects>;?

C# 在哪里设置<;gcAllowVeryLargeObjects>;?,c#,arrays,mono,C#,Arrays,Mono,我正在做一个排序列表的小程序。现在,我需要一个需要2GB以上RAM的阵列。在我的研究过程中,我发现了这处房产,但我不知道它放在哪里。我用的是单声道 对于非常大的ArrayList对象,您可以通过在运行时环境中将gcAllowVeryArgeObjects配置元素的enabled属性设置为true,将64位系统上的最大容量增加到20亿个元素 MyCustomApp.config 附言:我指的是财产 <?xml version="1.0" encoding="utf-8"?> <c

我正在做一个排序列表的小程序。现在,我需要一个需要2GB以上RAM的阵列。在我的研究过程中,我发现了这处房产,但我不知道它放在哪里。我用的是单声道

对于非常大的ArrayList对象,您可以通过在运行时环境中将gcAllowVeryArgeObjects配置元素的enabled属性设置为true,将64位系统上的最大容量增加到20亿个元素

MyCustomApp.config 附言:我指的是财产
<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <runtime>
    <gcAllowVeryLargeObjects enabled="true" />
  </runtime>
</configuration>
mono64 --config MyCustomApp.config Foobar.exe