You need to ensure that the application can use arrays larger than 2 GB

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?

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.



Leave a Reply 3

Your email address will not be published. Required fields are marked *