out of memory exception

SyntaxEditor for Windows Forms Forum

Posted 15 years ago by painetraine
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)


Comments (2)

Posted 15 years ago by Actipro Software Support - Cleveland, OH, USA
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 15 years ago by painetraine
I am using 2.0.107 or whatever the buil # was from 7/6/04.

The latest build of this product (v2018.1 build 0341) was released 3 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.