Jump to content
Software FX Community

OutOfMemoryException - 1 attachment (1/2)


User (Legacy)

Recommended Posts

Attached is a zip file containing a sample web app that reproduces 

OutOfMemoryException exception thrown by ChartFX control.

When you install it browse to the Default.aspx page and then click on

View Chart button.

You should get the OutOfMemoryException error.

This web app is built using Visual Studio .NET 2003.

Error: System.Web.HttpUnhandledException: Exception of type

System.Web.HttpUnhandledException was thrown. --->

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.Internet.Server.0V.D7(IGraphicsEx 14U, Rectangle& 14V,

Double 14W, Double 14X, Pen 14Y, Brush 14Z, Flag3D 150, Rectangle& 151)

at SoftwareFX.ChartFX.Internet.Server.0V.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.Internet.Server.GalleryObj.Pie.2T(Int32 0H1,

PaintMarkBase 0H2, Int32& 0H3, Int32& 0H4) at

SoftwareFX.ChartFX.Internet.Server.12.EH(IGraphicsEx 186, LabelList 187)

at SoftwareFX.ChartFX.Internet.Server.ChartCore.47(12 0KD, IGraphicsEx

0KE, Rectangle& 0KF, Int32& 0KG) at

SoftwareFX.ChartFX.Internet.Server.ChartCore.46(PaintBar 0KA, IGraphicsEx

0KB, Rectangle& 0KC) at SoftwareFX.ChartFX.Internet.Server.ChartCore.5M

(PaintBar 0MP, IGraphicsEx 0MQ, Rectangle& 0MR) at

SoftwareFX.ChartFX.Internet.Server.Chart.62(Stream 0ND, IOutputWriter

0NE, OutputText 0NF, OutputText 0NG, OutputInfo& 0NH) at

SoftwareFX.ChartFX.Internet.Server.Chart.6H(OutputText 0O9, OutputText

0OA, Boolean 0OB, Boolean 0OC, String 0OD) at

SoftwareFX.ChartFX.Internet.Server.Chart.Render(HtmlTextWriter output) at

System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at

System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at

System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter

writer) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at

System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at

System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer)

at System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) at

System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at

System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at

System.Web.UI.Control.Render(HtmlTextWriter writer) at

System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at

System.Web.UI.Page.ProcessRequestMain() --- End of inner exception stack

trace --- at System.Web.UI.Page.HandleError(Exception e) at

System.Web.UI.Page.ProcessRequestMain() at

System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest

(HttpContext context) at

System.Web.CallHandlerExecutionStep.System.Web.HttpApplication+IExecution

Step.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep

step, Boolean& completedSynchronously)

Do you have a fix for this? I am running with the latest service pack

update for ChartFX WebForms.

Link to comment
Share on other sites

  • 2 weeks later...

This bug has been fixed in our internal builds and is being tested (the .NET

framework seems to throw these exceptions when drawing very small arcs), if

you are interested in using it before it is released as a service pack,

please send a message to support@softwarefx.com and request directions on

how to download our most recent hotfix

--

Regards,

JC

Software FX Support

"Josh" <j_heller_nospam@yahoo.com> wrote in message

news:Xns93FB5BEC52930jhellerhpisnet@198.172.137.122...

> Attached is a zip file containing a sample web app that reproduces

> OutOfMemoryException exception thrown by ChartFX control.

>

> When you install it browse to the Default.aspx page and then click on

> View Chart button.

>

> You should get the OutOfMemoryException error.

>

> This web app is built using Visual Studio .NET 2003.

>

> Error: System.Web.HttpUnhandledException: Exception of type

> System.Web.HttpUnhandledException was thrown. --->

> 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.Internet.Server.0V.D7(IGraphicsEx 14U, Rectangle& 14V,

> Double 14W, Double 14X, Pen 14Y, Brush 14Z, Flag3D 150, Rectangle& 151)

> at SoftwareFX.ChartFX.Internet.Server.0V.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.Internet.Server.GalleryObj.Pie.2T(Int32 0H1,

> PaintMarkBase 0H2, Int32& 0H3, Int32& 0H4) at

> SoftwareFX.ChartFX.Internet.Server.12.EH(IGraphicsEx 186, LabelList 187)

> at SoftwareFX.ChartFX.Internet.Server.ChartCore.47(12 0KD, IGraphicsEx

> 0KE, Rectangle& 0KF, Int32& 0KG) at

> SoftwareFX.ChartFX.Internet.Server.ChartCore.46(PaintBar 0KA, IGraphicsEx

> 0KB, Rectangle& 0KC) at SoftwareFX.ChartFX.Internet.Server.ChartCore.5M

> (PaintBar 0MP, IGraphicsEx 0MQ, Rectangle& 0MR) at

> SoftwareFX.ChartFX.Internet.Server.Chart.62(Stream 0ND, IOutputWriter

> 0NE, OutputText 0NF, OutputText 0NG, OutputInfo& 0NH) at

> SoftwareFX.ChartFX.Internet.Server.Chart.6H(OutputText 0O9, OutputText

> 0OA, Boolean 0OB, Boolean 0OC, String 0OD) at

> SoftwareFX.ChartFX.Internet.Server.Chart.Render(HtmlTextWriter output) at

> System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at

> System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at

> System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter

> writer) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at

> System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at

> System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer)

> at System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) at

> System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at

> System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at

> System.Web.UI.Control.Render(HtmlTextWriter writer) at

> System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at

> System.Web.UI.Page.ProcessRequestMain() --- End of inner exception stack

> trace --- at System.Web.UI.Page.HandleError(Exception e) at

> System.Web.UI.Page.ProcessRequestMain() at

> System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest

> (HttpContext context) at

> System.Web.CallHandlerExecutionStep.System.Web.HttpApplication+IExecution

> Step.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep

> step, Boolean& completedSynchronously)

>

>

> Do you have a fix for this? I am running with the latest service pack

> update for ChartFX WebForms.

>

>

>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...