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.
Syncfusion Feedback

High Memory Usage

Thread ID:

Created:

Updated:

Platform:

Replies:

128428 Jan 20,2017 05:08 PM UTC Jan 25,2017 09:24 AM UTC UWP 3
loading
Tags: SfCircularGauge
Kirklyn Kerr
Asked On January 20, 2017 05:08 PM UTC

Hello,

I have installed version 14.4.0.15 along with the 14.4.0.20 service pack.  I am creating an application for displaying sensory information taken from my RPi, this application contains a few pages to navigate between.  However, I am noticing my application memory usage keeps going up each time I navigate back to the page having the SfCircularGauge coded on it.  So I keep toggling between a blank page and the SfCircularGauge coded page, what do you know the memory keeps going up each time rendering the SfCircularGauge coded page.  Eventually rendering becomes very slow and then the application crashes.  So I created a sample application to ensure that I am not doing one of my usual stupidity and same problem.  Note:  I am running these applications on my laptop with windows 10 and VS2017 RC.

I have attached a zip my sample application.

Question(s):
How do I go about freeing up the memory usage of the SfCircularGauge control?

Attachment: Sample_1e9ef71e.zip

Jeyasri M [Syncfusion]
Replied On January 23, 2017 05:10 AM UTC

Hi Kirklyn, 
 
Thanks for your interest in Syncfusion products. 
 
We have analyzed the memory usage get increases, while navigating to/from SfCircularGauge page. SfCircularGauge memory usage can be reduced by using SfCircularGauge Dispose method while unloading the corresponding SfCircularGauge page, which is used to release the unmanaged resources in SfCircularGauge.  
 
Based on that we have modified the given sample to release the gauge memory usage and please find the sample from below link. 
 
Sample Link: GaugeDispose 
 
Regards, 
Jeyasri M. 


Kirklyn Kerr
Replied On January 25, 2017 12:07 AM UTC

Thanks, for the response. Following your example, I am now seeing a consistent memory usage switching to and from the page having the SfCircularGauge control.

Jeyasri M [Syncfusion]
Replied On January 25, 2017 09:24 AM UTC

Hi Kirklyn, 
 
We glad to know that the given solution works for you. Please let us know if you need any further assistance. 
 
Regards, 
Jeyasri 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.

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

;