Page 1 of 1

OutOfMemoryException thrown

Posted: Thu Aug 03, 2006 3:03 pm
by 9791980
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

Posted: Mon Aug 07, 2006 1:34 pm
by narcis
Hello,

I'm afraid I can't reproduce this problem using the demo under:
Welcome !\Tools\Rotate

of the features demo and rotating the chart randomly and quickly for over a minute.

I'm using:
TeeChart for .NET 2.0.2306.26231
Windows server 2003 sp1 with 1GB RAM and a 3.2MHz processor.

System requirements?

Posted: Tue Aug 08, 2006 6:50 pm
by 9791980
Hi-
Do you have any clue as to what might be causing this exception? We have many users which use a variety of PCs. My colleagues and I are running Windows XP, Pentium 4 CPU 2.80GHz 2.79 GHz, 512 MB of RAM. Any requirement on graphics? Thanks

Posted: Wed Aug 09, 2006 10:19 am
by Chris
Hello,

I'm running an NVidia GeForce FX5700 (256MB memory) set at 1280 x 1024, True Color (32 bit), 75 Hertz.

Can you reproduce this error using the example in the features demo I mentioned? Can you reproduce it on all the machines you have access to?