Home

LINQPad(AnyCPU) not respect gcAllowVeryLargeObjects in app.config runtime section

I'm trying to use gcAllowVeryLargeObjects to test some feature like this:
new int[0X7FEFFFFF]
It's app.config:
<configuration>
<runtime>
<gcAllowVeryLargeObjects enabled="true" />
</runtime>
</configuration>
This is good running in Visual Studio but cannot be running in LINQPad(with OutOfMemoryException).
Is there any solution for this?

Comments

Sign In or Register to comment.