memory leak on dragdrop

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 dragdrop

Post by pincherhgz »

we are facing memory leaks on simple drag and drop actions.
Please refer to the attached screen shots and your example editor scheduler:
- dragdrop-initial shows 13624 objects right after the start
- dragdrop-afteractions shows 13766 objects after moving event 'Downtime' twice right and once left
Attachments
dragdrop-afteractions.png
dragdrop-afteractions.png (207.31 KiB) Viewed 4725 times
dragdrop-initial.png
dragdrop-initial.png (202.22 KiB) Viewed 4725 times

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

Re: memory leak on dragdrop

Post by mats »

This is not evidence of a leak. You should create some script to perform 100-500 operations and then analyse the data. This could just be some internal property kept in memory by Sencha Touch.
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 dragdrop

Post by pincherhgz »

as we are doing it in our app with huge amount of data the impact is for sure much more significant. We just tried to compare it with your simple test application

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

Re: memory leak on dragdrop

Post by mats »

But still, memory leak analysis needs to be done thoroughly. If you apply volume, 100-200 interactions and see a steady rise in memory usage - we'll definitely take a look. Just 1-2 drag drop is not enough to go on.
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

Post Reply