Resource leak

A forum dedicated to WPF version of LightningChart Ultimate.

Moderator: Queue Moderators

Post Reply
ShawnCG
Posts: 57
Joined: Tue Oct 15, 2013 8:31 pm

Resource leak

Post by ShawnCG » Fri May 29, 2015 6:13 pm

We've run across a situation where users who open and close charts many times in our application experience thread leaks and out of memory exceptions in the charts that cause the charts to show up blank, or in worst cases even crash the program. I tried to simulate the problem in the LightningChart for WPF Demo Application (v.6.4) and indeed the problem shows there as well. Here are the steps to reproduce:

1. Build the WPF demo app
2. Start the executable.
3. Click on any of the Intensity Grid or Intensity Mesh examples
4. Click on a different Intensity Grid Intensity Mesh example
5. Repeat steps 3 & 4 and after 30-40 charts, eventually the charts go blank.

Can you offer any recommendations for how to avoid this problem?

ArctionTero
Posts: 42
Joined: Thu Mar 28, 2013 9:20 am

Re: Resource leak

Post by ArctionTero » Tue Jun 02, 2015 5:02 am

Yes, there seems to be resource leak in chart. Thank you for informing us about it.

If possible, you could try to recycle charts instead of creating new ones until we have fixed the issue.

Sorry for inconvenience.
LightningChart Support Team, TK

ArctionJari

Re: Resource leak

Post by ArctionJari » Sun Jun 07, 2015 1:15 pm

We have released version 6.4.6 assembly pack which has this problem fixed.

ShawnCG
Posts: 57
Joined: Tue Oct 15, 2013 8:31 pm

Re: Resource leak

Post by ShawnCG » Tue Jun 09, 2015 4:26 pm

I can confirm that this fix worked for us. Thank you!

Post Reply