OutOfMemoryException thrown

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
lizrd
Newbie
Newbie
Posts: 4
Joined: Mon Jul 24, 2006 12:00 am

OutOfMemoryException thrown

Post by lizrd » 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

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Mon Aug 07, 2006 1:34 pm

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.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

lizrd
Newbie
Newbie
Posts: 4
Joined: Mon Jul 24, 2006 12:00 am

System requirements?

Post by lizrd » Tue Aug 08, 2006 6:50 pm

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

Christopher
Site Admin
Site Admin
Posts: 1349
Joined: Thu Jan 01, 1970 12:00 am
Location: Riudellots de la Selva, Catalonia
Contact:

Post by Christopher » Wed Aug 09, 2006 10:19 am

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?
Thank you!

Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/

Post Reply