Posted 25 June 2018, 7:49 pm EST
Hi Reeva,
We are bought latest version for Grapecity V11.1 for winforms.
This is not replicated easily but we easily the GDI count increasing drastically
with the screen have this spread control. This does not happen for other screesn of winforms where spread control is not present.
What is the solution to this problem ? Once GDI count goes to 9000 the application becomes slow and once it reaches 10000 the application gets freezed and not responding and then the red cross comes giving out of memory exception.
Attached is the stack trace
at System.Drawing.Graphics.FromHdcInternal(IntPtr hdc)
at System.Drawing.Font.ToLogFont(Object logFont)
at System.Drawing.Font.ToHfont()
at System.Windows.Forms.Control.FontHandleWrapper…ctor(Font font)
at System.Windows.Forms.Control.get_FontHandle()
at System.Windows.Forms.Control.SetWindowFont()
at System.Windows.Forms.Control.OnHandleCreated(EventArgs e)
at System.Windows.Forms.TextBoxBase.OnHandleCreated(EventArgs e)
at System.Windows.Forms.TextBox.OnHandleCreated(EventArgs e)
at System.Windows.Forms.Control.WmCreate(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.TextBoxBase.WndProc(Message& m)
at System.Windows.Forms.TextBox.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)