SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components
Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy. We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!
Please note: SciChart team will only answer questions from customers with active support subscriptions. Expired support questions will be ignored. If your support status shows incorrectly, contact us and we will be glad to help.
some time ago we update our application used WPF chart v 3.1 to version 220.127.116.1144. 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.