[Mono-bugs] [Bug 70992][Blo] Changed - Segment fault instead of OutOfMemoryException

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 5 Jan 2005 11:48:38 -0500 (EST)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by vargaz@gmail.com.

http://bugzilla.ximian.com/show_bug.cgi?id=70992

--- shadow/70992	2005-01-04 14:15:53.000000000 -0500
+++ shadow/70992.tmp.6323	2005-01-05 11:48:38.000000000 -0500
@@ -52,6 +52,12 @@
 $ Unhandled Exception: System.OutOfMemoryException: Out of memory
 
 === Additional question:
 
 Why do I get an OutOfMemoryException? I should be able to handle array
 twice as big before encountering such exception with 2Go of memory.
+
+------- Additional Comments From vargaz@gmail.com  2005-01-05 11:48 -------
+The maximum size of arrays in .NET is UInt32.MaxValue, which is 
+around 4294967295. A 266000000 length array of 32 bit ints is larger
+than this.
+