Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
try the following code and you'll get an error.
It depends on how much memory you've got ,my current machine has 512mb so 2000000 bytes was way above the limit.
StringBuilder sb = new StringBuilder();
for (int i = 0 ; i<20000;i++)
{
sb.Append("0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789");
}
throw new Exception(sb.ToString());
*thnx to hadar rosen for the telling me about this.
Comments
- Anonymous
March 30, 2003
Nice to know