R
Rainer Queck
Hello NG,
I have a strange situation in one of my apps.
I need to have a couple ob big array. Unfortunately after exeeding a certain
size (wich is not at all the limit of my system)
I get a OutOfMemoryException. Whis is that? Does the framework have limit, I
don't know of?
Here my sample code to demonstarte the problem:
int x = 500 * 1024 * 1024;
Byte[] b = new Byte[x];
Byte[] c = new Byte[x];
Byte[] d = new Byte[x];
Byte array b is allocated without problem.
As soon as I step over allocation c I get the exception!
Thanks for hints, links and help on this problem.
Regards
Rainer Queck
I have a strange situation in one of my apps.
I need to have a couple ob big array. Unfortunately after exeeding a certain
size (wich is not at all the limit of my system)
I get a OutOfMemoryException. Whis is that? Does the framework have limit, I
don't know of?
Here my sample code to demonstarte the problem:
int x = 500 * 1024 * 1024;
Byte[] b = new Byte[x];
Byte[] c = new Byte[x];
Byte[] d = new Byte[x];
Byte array b is allocated without problem.
As soon as I step over allocation c I get the exception!
Thanks for hints, links and help on this problem.
Regards
Rainer Queck