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.
Unfortunately, activation email could not send to your email. Please try again.

Chart memory leak

Thread ID:

Created:

Updated:

Platform:

Replies:

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

Hello,
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 03:57 PM

Can someone please reply?

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

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.

Regards,
Saravana Pandian M.


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

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.

Regards,
Saravana Pandian M.


CONFIRMATION

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.

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.

;