G
Guest
Hi,
I wrote an .NET application that allocate a large byte array.
If the array is of size 700 MByte, it's ok and no error is thrown.
But when I try to allocate a 800 MByte byte array, an OutOfMemory Exception
is thrown.
The PC that this application is running on has a 2 Giga bytes RAM and the
free memory is 1.3 Giga bytes when the application was trying to allocate the
byte array.
The PC has two disks, both are set to use virtual memory (large one).
It's looks like the system is limiting each assembly to use that much memory.
Is there a way to change this settings to allow a larger amount of memory
for each assembly.
If so, How do I do that?
I wrote an .NET application that allocate a large byte array.
If the array is of size 700 MByte, it's ok and no error is thrown.
But when I try to allocate a 800 MByte byte array, an OutOfMemory Exception
is thrown.
The PC that this application is running on has a 2 Giga bytes RAM and the
free memory is 1.3 Giga bytes when the application was trying to allocate the
byte array.
The PC has two disks, both are set to use virtual memory (large one).
It's looks like the system is limiting each assembly to use that much memory.
Is there a way to change this settings to allow a larger amount of memory
for each assembly.
If so, How do I do that?