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.