1

Closed

System.OutOfMemoryException: List box contains too many items.

description

When I add a database in the "New Project" dialog - it trashes...
 
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
 
************** Exception Text **************
System.OutOfMemoryException: List box contains too many items.
at System.Windows.Forms.ListBox.NativeAdd(Object item)
at System.Windows.Forms.ListBox.ObjectCollection.AddInternal(Object item)
at System.Windows.Forms.ListBox.ObjectCollection.Add(Object item)
at RADStudioClient.Controls.DatabasesEditor.DisplaySelectedProject() in C:\Projects\RAD Studio\Client\Controls\DatabasesEditor.cs:line 166
at RADStudioClient.Controls.DatabasesEditor.EditDatabase(Databases database) in C:\Projects\RAD Studio\Client\Controls\DatabasesEditor.cs:line 212
at RADStudioClient.Controls.DatabasesEditor.AddButton_Click(Object sender, EventArgs e) in C:\Projects\RAD Studio\Client\Controls\DatabasesEditor.cs:line 55
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
 
 
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3603 (GDR.050727-3600)

CodeBase: file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll

RADStudioClient
Assembly Version: 3.5.1.0
Win32 Version: 3.5.1.0

CodeBase: file:///C:/Program%20Files/RAD%20Studio/RADStudioClient.exe

System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3082 (QFE.050727-3000)

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll

RADStudioObjectLibrary
Assembly Version: 3.5.1.0
Win32 Version: 3.5.1.0

CodeBase: file:///C:/Program%20Files/RAD%20Studio/RADStudioObjectLibrary.DLL

RADStudioApplicationLogicComponent
Assembly Version: 3.5.1.0
Win32 Version: 3.5.1.0

CodeBase: file:///C:/Program%20Files/RAD%20Studio/RADStudioApplicationLogicComponent.DLL

RADStudioDataAccessComponent
Assembly Version: 3.5.1.0
Win32 Version: 3.5.1.0

CodeBase: file:///C:/Program%20Files/RAD%20Studio/RADStudioDataAccessComponent.DLL

System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll

DataClassBuilder.Net.Dll
Assembly Version: 3.5.1.0
Win32 Version: 3.5.1.0

CodeBase: file:///C:/Program%20Files/RAD%20Studio/DataClassBuilder.Net.Dll.DLL

System.Transactions
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll

System.EnterpriseServices
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll

Microsoft.ApplicationBlocks.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.0.0

CodeBase: file:///C:/Program%20Files/RAD%20Studio/Microsoft.ApplicationBlocks.Data.DLL

Microsoft.SqlServer.Smo
Assembly Version: 10.0.0.0
Win32 Version: 10.50.1352.12 ((KJ_PreRelease).091030-1758 )

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.SqlServer.Smo/10.0.0.0__89845dcd8080cc91/Microsoft.SqlServer.Smo.dll

Microsoft.SqlServer.Management.Sdk.Sfc
Assembly Version: 10.0.0.0
Win32 Version: 10.50.1352.12 ((KJ_PreRelease).091030-1758 )

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.SqlServer.Management.Sdk.Sfc/10.0.0.0__89845dcd8080cc91/Microsoft.SqlServer.Management.Sdk.Sfc.dll

Microsoft.SqlServer.ConnectionInfo
Assembly Version: 10.0.0.0
Win32 Version: 10.50.1352.12 ((KJ_PreRelease).091030-1758 )

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.SqlServer.ConnectionInfo/10.0.0.0__89845dcd8080cc91/Microsoft.SqlServer.ConnectionInfo.dll

Microsoft.SqlServer.SqlClrProvider
Assembly Version: 10.0.0.0
Win32 Version: 10.50.1352.12 ((KJ_PreRelease).091030-1758 )

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.SqlServer.SqlClrProvider/10.0.0.0__89845dcd8080cc91/Microsoft.SqlServer.SqlClrProvider.dll

Microsoft.SqlServer.SqlEnum
Assembly Version: 10.0.0.0
Win32 Version: 10.50.1352.12 ((KJ_PreRelease).091030-1758 )

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.SqlServer.SqlEnum/10.0.0.0__89845dcd8080cc91/Microsoft.SqlServer.SqlEnum.dll

 
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
 
For example:
 
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
 
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
Closed Apr 30, 2014 at 1:03 AM by Corby
Very old issue

comments

CorbyNichols wrote Jun 20, 2010 at 4:25 AM

I have not been able to duplicate this issue, can you please contact me at corbynichols@gmail.com with a copy of the database that reports the problem.

Also please try the new version 3.6 that was just release and inform me if the problem still occurs.

Thank you,

Corby Nichols
http://radstudio.codeplex.com

wrote Feb 14, 2013 at 2:08 AM

wrote Apr 30, 2014 at 1:03 AM