You are debugging a 64-bit C# application.
Users report System.OutOfMemoryException exceptions. The system is attempting to use
arrays larger than 2 GB in size.
You need to ensure that the application can use arrays larger than 2 GB.
What should you do?
A.
Add the /3GB switch to the boot.ini file for the operating system.
B.
set the IMAGE_FILE_LARGE_ADDRESS_AWARE flag in the image header for the
application executable file.
C.
set the value of the gcAllowVeryLargeObjects property to true in the application
configuration file.
D.
Set the value of the user-mode virtual address space setting for the operating system to
MAX.
C
Correct!
https://msdn.microsoft.com/en-us/library/hh285054(v=vs.110).aspx
“On 64-bit platforms, enables arrays that are greater than 2 gigabytes (GB) in total size.
Element
Element
Element”