Memory Error

A forum dedicated to WPF version of LightningChart Ultimate.

Moderator: Arction_LasseP

symbolick
Posts: 49
Joined: Thu May 16, 2013 8:24 pm

Memory Error

Post by symbolick » Thu May 30, 2019 5:51 pm

When using AreaSeries, setting LineVisible = true allows the DrawColumnForArea array to be regularly cleared from memory, whereas in the fault state (LineVisible = false) the memory used by DrawColumnForArea keeps increasing forever.

Here is how you can confirm this: In the ExampleAreaSeriesRealTimeXY example window, LineVisible is normally set to true and memory gets recycled, but if you change that boolean to false, the memory that DemoAppWpf.exe is using keeps increasing over time.

Thanks,
Aaron

Arction_LasseP
Posts: 84
Joined: Wed Mar 27, 2019 1:05 pm

Re: Memory Error

Post by Arction_LasseP » Fri May 31, 2019 12:55 pm

Hello,

Thank you for reporting this issue.
You are correct, as this does cause a memory leak. We have also detected similar issues earlier with HighLowSeries. Therefore this particular issue is fixed in our next release, in which the focus is on bug fixes. This patch is actually estimated to be released next week, so after that simply updating LightningChart should solve the issue.

symbolick
Posts: 49
Joined: Thu May 16, 2013 8:24 pm

Re: Memory Error

Post by symbolick » Mon Jun 03, 2019 5:46 pm

Thank you for looking at this for us. We look forward to the next release.

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

Re: Memory Error

Post by ArctionKestutis » Wed Jun 05, 2019 1:02 pm

The issue was fixed in the latest (v8.4.2.4001) LightningChart release.
All the best.