[Mono-bugs] [Bug 78234][Maj] Changed - Out of memory exception when reading "long varchar" columns

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Apr 28 11:22:32 EDT 2006

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 mjscod at gmx.de.


--- shadow/78234	2006-04-28 11:21:04.000000000 -0400
+++ shadow/78234.tmp.24963	2006-04-28 11:22:32.000000000 -0400
@@ -41,6 +41,11 @@
 I guess that this problem occurs because ODBC returns a huge column size
 (>1GB) but the actual data is NULL or its size is much smaller. I guess
 that the ODBC reader tries to allocate a memory block as large as the max.
 column width.
 I'll attach a small test application.
+------- Additional Comments From mjscod at gmx.de  2006-04-28 11:22 -------
+Created an attachment (id=16865)
+VB.NET test application (replace "test_db" by your ODBC DSN)

More information about the mono-bugs mailing list