Abnormal memory

A forum dedicated to WinForms version of LightningChart Ultimate.

Moderator: Arction_LasseP

hyetc
Posts: 10
Joined: Fri Oct 09, 2020 9:26 am

Abnormal memory

Post by hyetc » Thu Dec 03, 2020 3:34 am

This exception occurs after adding multiple charts,The memory consumption of software is not large,
Win10 system has appeared, the probability is not big, do not know where the reason.
After this problem occurs, it won't work to add any charts.

Abnormal information as follows
Arction.WinForms.Charting.ChartException: Unable to allocate memory for operation: HRESULT: [0x8007000E], Module: [Unknown], ApiCode: [Unknown/Unknown]
SharpDX.Result.CheckError()
SharpDX.DXGI.SwapChain.ResizeBuffers(Int32 bufferCount, Int32 width, Int32 height, Format newFormat, SwapChainFlags swapChainFlags)
Arction.RenderingEngine11.RenderingEngine11.ResetDevice(Int32 width, Int32 height, Boolean isXP)
Arction.WinForms.Charting.LightningChartUltimate.GPC(Int32 A, Int32 C)
Arction.WinForms.Charting.LightningChartUltimate.GJC(MessageSeverity A, MessageType C, Object F, String H, String I, Boolean J, Exception K)
Arction.WinForms.Charting.LightningChartUltimate.GPC(Int32 A, Int32 C)
Arction.WinForms.Charting.LightningChartUltimate.AMC()
在 Arction.WinForms.Charting.LightningChartUltimate.GJC(MessageSeverity A, MessageType C, Object F, String H, String I, Boolean J, Exception K)
在 Arction.WinForms.Charting.LightningChartUltimate.AMC()
在 Arction.WinForms.Charting.LightningChartUltimate.ULC()

ArctionKestutis
Posts: 401
Joined: Mon Mar 14, 2016 9:22 am

Re: Abnormal memory

Post by ArctionKestutis » Thu Dec 03, 2020 3:06 pm

What is memory usage in your application. You could measure with 'Task Manager' or 'Process Explorer'?
In addition, check how project build settings are: Platform target, and Prefer 32-bit options.
If application is 32-bit, then due to .NET limitation application is not able to use more than 2GB memory (in practice 1.3-1.5 GB).
If that did not answer your question, please send your test project for our Support email.