SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components
some time ago we update our application used WPF chart v 3.1 to version 22.214.171.12444. Now we realize that the application uses much more memory as before, sometimes it doubles the memory usage. The worst issue is that memory is not release aver after unloading the data series and even after closing the Tab which contains the Chart. Because we need to deploy the Application even on pc with 2 GB RAM it becomes an issue for us. Please advise what could we check to make sure memory will be released after unloading the data series and closing the tab with chart.
I can only provide guesses without some way of reproducing the problem or understanding how you are using SciChart.
Some information that might help me includes:
The only thing I can think of is SciChart v4 DataSeries now include Metadata – a configurable column which accepts any custom class tagged onto a point. This adds approx 50% more memory to XyDataSeries even if you are not using Metadata.
We do have a task on our board to not create Metadata memory if you are not using the feature. If this is your problem I have a workaround for you — but you will need to diagnose the problem first, then get in contact with support second to receive the workaround!
Thank you for your help,
We are using XY line series.
A reference to DirectX assembly is added to project, but I was not able to find any active usage of it.
Each series we display, has 1000 to 20000 points and user can select up to 10000 series to display. Also up to 200000000 data points.
We are using double data type.
Metadata explains why we use more memory. We need to find the memory leak to make sure the memory is released again, when user changes his selection. We will work with memory profiler, but it can tale long time since it is a huge application.
Please login first to submit.