I have a line of code that is randomly giving users a problem:
Redim yArray(3,Ubound(xArray,2)-1)
In the IIS log file it gives me a 500 Out of Memory. The server has 2GB and pretty much runs with 1.3GB free. Other posts on the net have said this could be caused by two things in the second dimension of yArray: 1. A negative value or 2. a really large value.
I have tested both cases and they do not give me the Out of Memory error, instead I get subscript out of range or overflow.
Does anybody know what else might cause this?
Redim yArray(3,Ubound(xArray,2)-1)
In the IIS log file it gives me a 500 Out of Memory. The server has 2GB and pretty much runs with 1.3GB free. Other posts on the net have said this could be caused by two things in the second dimension of yArray: 1. A negative value or 2. a really large value.
I have tested both cases and they do not give me the Out of Memory error, instead I get subscript out of range or overflow.
Does anybody know what else might cause this?