OutOfMemoryException thrown
Posted: Thu Aug 03, 2006 3:03 pm
Hello- I have a 3D surface chart with rotation tool. When I rotate the chart spastically for about 45 seconds, it crashes. Here is the stack dump:
Exception: System.OutOfMemoryException: Out of memory.
at System.Drawing.Graphics.CheckErrorStatus(Int32 status)
at System.Drawing.Graphics.DrawLine(Pen pen, Int32 x1, Int32 y1, Int32 x2, Int32 y2)
at Steema.TeeChart.Drawing.Graphics3DGdiPlus.Line(Int32 x0, Int32 y0, Int32 x1, Int32 y1)
at Steema.TeeChart.Drawing.Graphics3D.VerticalLine(Int32 x, Int32 top, Int32 bottom, Int32 z)
at Steema.TeeChart.Axis.AxisDraw.TicksGridDraw.DrawGridLine(Int32 tmp)
at Steema.TeeChart.Axis.AxisDraw.TicksGridDraw.DrawGrids()
at Steema.TeeChart.Axis.AxisDraw.TicksGridDraw.DrawTicksGrid(Int32[]& tempTicks, Int32& tempNumTicks, Double& tempValue)
at Steema.TeeChart.Axis.AxisDraw.Draw(Boolean calcPosAxis)
at Steema.TeeChart.Axis.Draw(Boolean calcPosAxis)
at Steema.TeeChart.Axes.Draw(Graphics3D g)
at Steema.TeeChart.Chart.InternalDraw(Graphics g, Boolean noTools)
at Steema.TeeChart.Chart.InternalDraw(Graphics g)
at Steema.TeeChart.TChart.Draw(Graphics g)
at Steema.TeeChart.TChart.OnPaint(PaintEventArgs pe)
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.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)
Any thoughts? This is preventing us from releasing our app to production. We are using v2 of TeeChart. Thank you
Exception: System.OutOfMemoryException: Out of memory.
at System.Drawing.Graphics.CheckErrorStatus(Int32 status)
at System.Drawing.Graphics.DrawLine(Pen pen, Int32 x1, Int32 y1, Int32 x2, Int32 y2)
at Steema.TeeChart.Drawing.Graphics3DGdiPlus.Line(Int32 x0, Int32 y0, Int32 x1, Int32 y1)
at Steema.TeeChart.Drawing.Graphics3D.VerticalLine(Int32 x, Int32 top, Int32 bottom, Int32 z)
at Steema.TeeChart.Axis.AxisDraw.TicksGridDraw.DrawGridLine(Int32 tmp)
at Steema.TeeChart.Axis.AxisDraw.TicksGridDraw.DrawGrids()
at Steema.TeeChart.Axis.AxisDraw.TicksGridDraw.DrawTicksGrid(Int32[]& tempTicks, Int32& tempNumTicks, Double& tempValue)
at Steema.TeeChart.Axis.AxisDraw.Draw(Boolean calcPosAxis)
at Steema.TeeChart.Axis.Draw(Boolean calcPosAxis)
at Steema.TeeChart.Axes.Draw(Graphics3D g)
at Steema.TeeChart.Chart.InternalDraw(Graphics g, Boolean noTools)
at Steema.TeeChart.Chart.InternalDraw(Graphics g)
at Steema.TeeChart.TChart.Draw(Graphics g)
at Steema.TeeChart.TChart.OnPaint(PaintEventArgs pe)
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.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)
Any thoughts? This is preventing us from releasing our app to production. We are using v2 of TeeChart. Thank you