out of memory exception

SyntaxEditor for Windows Forms Forum

Posted 20 years ago by painetraine
Avatar
I got the following out of memory exception while using the SyntaxEditor control. Wasn't doing anything special other than just typing. Not sure if you have an idea about the cause of this or not or even if is entirely related to SyntexEditor but since the exception only lists ActiProWinCore and .NET Framework, though I would let you know:

System.OutOfMemoryException: Out of memory.
at System.Drawing.Graphics.FromHdcInternal(IntPtr hdc)
at System.Windows.Forms.PaintEventArgs.get_Graphics()
at ᐂ..ctor(PaintEventArgs e)
at ActiproSoftware.WinUICore.UIPopupForm.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at ActiproSoftware.WinUICore.UIPopupFormBase.WndProc(Message& m)
at ActiproSoftware.WinUICore.UIPopupForm.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Thanks

Comments (2)

Posted 20 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Do you have the latest build? In a recent one we made sure that all GDI+ resources were disposed of after they were used.


Actipro Software Support

Posted 20 years ago by painetraine
Avatar
I am using 2.0.107 or whatever the buil # was from 7/6/04.

Thanks
The latest build of this product (v24.1.1) was released 28 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.