Jump to content
Software FX Community

donut OutOfMemoryException

User (Legacy)

Recommended Posts


Bug: ChartFX throws an uncatchable OutOfMemoryException when the gallery

is switched to donut for certain data sets.

A binary export repro is attached. To trigger the exception, switch the

chart gallery type to donut using the toolbar.

The exception stack trace:

System.OutOfMemoryException: Out of memory.

at System.Drawing.Graphics.CheckErrorStatus(Int32 status)

at System.Drawing.Graphics.DrawArc(Pen pen, Single x, Single y,

Single width, Single height, Single startAngle, Single sweepAngle)

at SoftwareFX.ChartFX.Base.GraphicsEx.DrawArc(Pen pen, Int32 x,

Int32 y, Int32 w, Int32 h, Double dStartAngle, Double dSweepAngle)

at SoftwareFX.ChartFX.1K.M8(IGraphicsEx 2B3, Rectangle& 2B4, Double

2B5, Double 2B6, Pen 2B7, Brush 2B8, Flag3D 2B9, Rectangle& 2BA)

at SoftwareFX.ChartFX.1K.PieSlice(IGraphicsEx gx, Rectangle& r,

Double dStartAngle, Double dSweepAngle, Brush brush, Pen pen, Flag3D

flag3D, Int32 nThick, Rectangle& rHole, Boolean bSides, Boolean b2DShadows)

at SoftwareFX.ChartFX.GalleryObj.Pie.32(Int32 12O, PaintMarkBase

12P, Int32& 12Q, Int32& 12R)

at SoftwareFX.ChartFX.1R.O3(Int32& 2FE, Int32& 2FF)

at SoftwareFX.ChartFX.1R.OA(LabelList 2G0)

at SoftwareFX.ChartFX.ChartCore.EM(1R 1SB, Rectangle& 1SC, Int32& 1SD)

at SoftwareFX.ChartFX.ChartCore.EL(PaintBar 1S8, IGraphicsEx 1S9,

Rectangle& 1SA)

at SoftwareFX.ChartFX.0X.OnPaint(PaintEventArgs e)


System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e,

Int16 layer, Boolean disposeEventArgs)

at System.Windows.Forms.Control.WmPaint(Message& m)

Link to comment
Share on other sites

  • 2 weeks later...


This topic is now archived and is closed to further replies.

  • Create New...