SciChartĀ® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & Android Chart Components

1
0

Hi

I have come across that Android Scichart consuming a lot of memory while drawing it on the surface. It increase more with the time. When i run the android memory profiler, i find out 60-65 % memory consumed by the Graphics only. The app getting started hangs after some time and become unresponsive. Please let me know how to improve the memory utilization.

Version
v2.2.0.2
  • Yura Khariton
    Can you provide a project which reproduces this issue? It’s hard to tell what could be cause of this problem and how to optimize it without seeing the code. In case if you don’t want to share your code on forum you can create a ticket and attach project there. Thanks in advance.
  • Andrew
    I second this. We really need code to reproduce such issues so we can adequately test. Can you provide it?
  • Developer Mt
    Hi Andrew ! As i said before.. i can’t share code.. this is company policy. We really want to shift from Androidplot to Scichart to achieve best performance. But we still not get that performance from scichart.
  • You must to post comments
0
0

Find the code in attachment

Attachments
  • Yura Khariton
    Unfortunately this code fragment isn’t enough to build a project which can be profiled to find out what is the cause of increased memory consumption. Can you provide entire project? Thanks in advance.
  • You must to post comments
0
0

I can provide you complete class source code. Sorry i can’t share the company project with anybody and size of project very large. I hope you understand. Expecting great and early solution from scichart support community.
Thanks
Best Regards
Dinesh Sheoran

Attachments
  • Yura Khariton
    Unfortunately I don’t see anything that could cause the behavior which you describe. Everything seems to be OK. Maybe you can create a separate project which reproduce this issue and can send it so I could debug it?
  • You must to post comments
0
0

I also want to know that implementation of sci-chart is effective in terms of optimization.

  • Yura Khariton
    I have tested SciChart our demo application which contains various possible use cases ( e.g. realtime FIFO charts, performance demo where we append few millions of points etc) and I couldn’t reproduce this increased memory consumption which you described. So I think that without project which reproduces this issue it would be very hard to find the cause of the issue.
  • You must to post comments
0
0

Sorry i forgot to attach Base class. I hope this may help you. Everything working perfectly.. values are getting plot dynamically.

Attachments
  • You must to post comments
0
0

Hi,
I was just checking the RealtimeTickingStock memory utilization in Android Studio profiler. I found that graphics memory by 0.1MB and native code increasing per second. Please check it yourself and solve the mention problem.
Thank you

  • Nazar
    I’ve checked the example and I can’t see anything unusual, memory grows is caused by appending\updating data to the charts, so that’s normal, and moreover all of that memory gets collected, except one used by chart. So everything looks fine. If you can reproduce any kind of memory leak on your side – please provide as with sample project so we can easily detect and fix it.
  • You must to post comments
0
0

This is very sad to know that Scichart Support Community is not serving their Customer very well. Unfortunately there is neither proper documentation, video tutorial nor helping support in Android scichart. šŸ™

  • Andrew
    I’ve asked team to check Realtime Ticking stock Charts for memory leaks now, but you only reported this example grows in memory yesterday so not sure how fast of a turnaround you’re expecting on bug fixes? When we know something, we will let you know. All the best,
  • You must to post comments
Showing 6 results
Your Answer

Please first to submit.