Memory consuption

Hi, i want to try your components and start using them in my projects. And this one is really great, but i have one problem.

In my project i use Prism mvvm. I have one page that only contain SfImageEditor, and i bind to source property an image. It does work generally ok, save works, edit image works just as expected. Workflow is like this, i have list of images on one page, on click on any of it I open new page with ImageEditor. But the problem is following.
Everytime i open new page with ImageEditor memory grows. So i open one page with image editor, go back, open new one memory constantly grow, and in some point of time there is memory overflow. I have tried both modal and regular navigation. Tried to pass just path, to pass image source with file, image source with stream. To have just one ImageEditor that i pass to this page and set Content to it. Everything is the same.

Also i tried just to show image instead of SfImageEditor to check is there some leak from my side, but memory didn't grow.
Also tried to call GC.Collect(); but it also didn't help.

Do you have idea what is problem with this?

Thank you!

5 Replies

AK Ashwin Kumaravel Syncfusion Team February 12, 2018 11:53 AM UTC

Hi Milos,

Thanks for using Syncfusion products,

We have validated your query “SfImageEditor Memory goes up when we navigate to another page” and we are able to reproduce the same at our end. We are currenlty working on memory leak related scenarios and we will fix the issue and it will be included in 2018 Volume 1 Main release which is expected to be rolled out by the mid of February 2018.We appreciate your patience until then.

Regards,
Ashwin



AV Adam Vega March 2, 2018 02:57 AM UTC

Ashwin Kumaravel I'm having the same issue. Was this ever resolved?


MV Mohana V Syncfusion Team March 2, 2018 12:24 PM UTC

Hi Adam,

We have fixed "Outofmemory exception" in our rolled out essential studio vol 1 2018 release build.

There are possibilities to increase memory size when we load high resolution images and could you please share us the exact scenario what you are facing with replication procedure.

So that we would give you possible solution to overcome the reported issue at our end.

Regards,
Mohana V


MI MikeD August 23, 2018 02:43 PM UTC

Hello,

I am experiencing the memory leak as well, I have attached a basic Xamarin.Forms app that only has an ImageEditor called from the Main Page, the image is an embedded resource.  I am running on a physical Samsung Galaxy 6S.  I edit my image, return to the main page, and repeat, by the 3rd repeat the app crashes with an Out of Memory exception.  I have tried numerous memory release "tricks" including GC.Collect() and still have the problem.  I am running the latest Xamarin, latest Android, and latest Syncfusion 16.2.0.46.  Any assistance you can provide would be appreciated.

Attachment: sfIEMemLeak_3e30a9b9.zip


DR Dhanasekar R Syncfusion Team August 24, 2018 10:04 AM UTC

Hi Michael,

We have deployed your sample and we have already considered this memory leak issue. We have planned to include this fix in our upcoming volume 3 release which is scheduled to be rolled out at the end of September, 2018.

We appreciate your patience until then.

Regards,
Dhanasekar

Loader.
Up arrow icon