Page 1 of 1

OutOfMemoryException

Posted: Mon May 12, 2014 10:02 am
by jrvdboom
In LightningChart 6, I loaded 1 million datapoints and added them to a FreeformPointLineSeries. Drawing them works, but as soons as I try to drag or zoom, I get an OutOfMemoryException with the following stacktrace:

Code: Select all

   at A.K.H(QH[] A)
   at A.AI.UG(PointFloat[] A, Boolean B, LineStyle C, Boolean F)
   at A.AI.UG(PointFloat[] A, Boolean B, LineStyle C, Boolean F, Int32[] G)
   at Arction.WPF.LightningChartUltimate.LightningChartUltimate.FAC(PointLineSeriesBase A, Int32 B, Double C, Double F, Double G, GraphSegmentInfo H, Int32 I)
   at Arction.WPF.LightningChartUltimate.LightningChartUltimate.EAC(Object A)
   at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
The same data ran perfectly in LightingChart 5. Any ideas?

Thanks,
Joost

Re: OutOfMemoryException

Posted: Mon May 12, 2014 2:06 pm
by ArctionPasi
Hi,

Can you post a picture of your chart so I can see a little bit what kind of options are you using there?

Re: OutOfMemoryException

Posted: Thu Aug 07, 2014 7:46 am
by jrvdboom
I'm sorry for this VERY late reply, but I totally forgot about this issue (we've been using PointLineSeries so far...).
I tried to reproduce this issue with the latest version, but didn't get the exception anymore. It did get very slow when panning the chart, but no exception.