memory leak on zoom in/out

Ask for help relating to our Sencha Touch based Scheduler (for iPad, or any other supported phone, phablet or tablet)
Post Reply
User avatar
pincherhgz
Posts: 78
Joined: Mon Oct 27, 2014 11:40 am

memory leak on zoom in/out

Post by pincherhgz »

doing the profiling for our app we are facing the problem that we have a memory leak (objects not collected by the GC) when using the zoomToLevel method.
You can reproduce that using your zoom example. The snapshot analysis after pressing zoom in and out shows this (see attached picture)
Attachments
zoominout-memoryleak.png
zoominout-memoryleak.png (176.46 KiB) Viewed 8168 times

User avatar
Maxim Gorkovsky
Core Developer
Core Developer
Posts: 3290
Joined: Wed Jan 08, 2014 11:46 am

Re: memory leak on zoom in/out

Post by Maxim Gorkovsky »

Hello.
Thank you for report, I opened a ticket to investigate this: https://www.assembla.com/spaces/bryntum/tickets/2386
Does this have major impact on your application?

User avatar
pincherhgz
Posts: 78
Joined: Mon Oct 27, 2014 11:40 am

Re: memory leak on zoom in/out

Post by pincherhgz »

Hi,
we can live with that for the next 2 months but need it solved to allow us releasing our product within Q1/2016

User avatar
pincherhgz
Posts: 78
Joined: Mon Oct 27, 2014 11:40 am

Re: memory leak on zoom in/out

Post by pincherhgz »

we checked again during the weekend and an part of our application (where we are showing on huge monitors permanently changing situations that need the zoom call) is running already after a day out of memory, so we need more urgent help.
thanks in advance

User avatar
mats
Core Developer
Core Developer
Posts: 16756
Joined: Sat Dec 19, 2009 11:41 pm
Location: Sweden
Contact:

Re: memory leak on zoom in/out

Post by mats »

Thanks for the update, we'll try to do a preliminary analysis this coming week. Please keep us posted on your findings
Tired of debugging javascript errors in web applications? Try our new error logging service RootCause, or read more on the Sencha blog

@bryntum
Facebook
API documentation

User avatar
mats
Core Developer
Core Developer
Posts: 16756
Joined: Sat Dec 19, 2009 11:41 pm
Location: Sweden
Contact:

Re: memory leak on zoom in/out

Post by mats »

Could not find anything substantial here. After doing 100s of zoom in/out I see memory go up by about 1MB which could be anything (Sencha Touch internals or browser not having done all the GC yet). Could you share some more information on why you think it's a leak still?
Tired of debugging javascript errors in web applications? Try our new error logging service RootCause, or read more on the Sencha blog

@bryntum
Facebook
API documentation

User avatar
mats
Core Developer
Core Developer
Posts: 16756
Joined: Sat Dec 19, 2009 11:41 pm
Location: Sweden
Contact:

Re: memory leak on zoom in/out

Post by mats »

Found two other leaks that has now been fixed, please re-test in next nightly build.
Tired of debugging javascript errors in web applications? Try our new error logging service RootCause, or read more on the Sencha blog

@bryntum
Facebook
API documentation

User avatar
pincherhgz
Posts: 78
Joined: Mon Oct 27, 2014 11:40 am

Re: memory leak on zoom in/out

Post by pincherhgz »

great, we'll do so

User avatar
mats
Core Developer
Core Developer
Posts: 16756
Joined: Sat Dec 19, 2009 11:41 pm
Location: Sweden
Contact:

Re: memory leak on zoom in/out

Post by mats »

any results?
Tired of debugging javascript errors in web applications? Try our new error logging service RootCause, or read more on the Sencha blog

@bryntum
Facebook
API documentation

User avatar
pincherhgz
Posts: 78
Joined: Mon Oct 27, 2014 11:40 am

Re: memory leak on zoom in/out

Post by pincherhgz »

it's much better now, we continue to check

Post Reply