We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Chart memory leak

Thread ID:





129961 Apr 11,2017 11:13 PM UTC Apr 19,2017 07:03 PM UTC Xamarin.Android 3
Tags: SfChart
Martin Dusek
Asked On April 11, 2017 11:13 PM UTC

attached is a sample xamarin android project you provided me several months ago. It is real time plot example, it plots 180 samples in the chart. Old samples are removed from data collection.

The app starts with normal memory usage:

04-12 01:07:02.757 D/Mono    (20765): GC_MINOR: (Nursery full) time 40.53ms, stw 41.88ms promoted 2204K major size: 3168K in use: 2440K los size: 1024K in use: 216K

However, after several minutes of run, the memory usage is very high and is continuously increasing.

04-12 01:09:34.002 D/Mono    (20765): GC_MAJOR: (LOS overflow) time 49.11ms, stw 49.50ms los size: 1024K in use: 507K
04-12 01:09:34.002 D/Mono    (20765): GC_MAJOR_SWEEP: major size: 16256K in use: 15183K

Is there memory leak issue in your charts? Or how to make the app consume constant amount of memory (as old samples are removed from chart)?

Attachment: DataMarkerSample264781638_leak_8ed63b7e.zip

Martin Dusek
Replied On April 17, 2017 07:57 PM UTC

Can someone please reply?

Saravana Pandian Murugan [Syncfusion]
Replied On April 19, 2017 04:01 AM UTC

Hi Martin,

Thanks for using Syncfusion products.

Currently we are checking the memory issue from our side. We are trying to optimise it in the sample level and we will update you with more details on April 19, 2017.

Saravana Pandian M.

Saravana Pandian Murugan [Syncfusion]
Replied On April 19, 2017 07:03 PM UTC

Hi Martin,

Thanks for your patience.

We have optimized the memory usage in the sample by avoiding object creations and attached for your reference. We are still analysing on the further possibilities of reducing the memory consumption as much as possible.

Sample: http://www.syncfusion.com/downloads/support/forum/129961/ze/DataMarkerSample-1824766241

Please check the attached sample and let us know if you have any concerns.

Saravana Pandian M.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon