03-13-2012 08:34 PM
I'm a bit stumped with my latest problem. My WebWorks App uses JQuery 1-6.1 and JQuery UI 1.8.13 for UI features, DOM manipulation, and AJAX querying. The situation is when the user requests data via an AJAX call to a web service my application then takes a stored HTML string and updates the string with the returned data. Then using JQuery it adds this HTML to the DOM by using $("table#mainTable").prepend(html).hide().fadeIn(1
I thought maybe there were hung AJAX calls so I overrode the close logic to call the .abort() function call on all possible queries if they weren't already set to null. This still didn't seem to work. Does anyone have any insight or ideas?
03-13-2012 09:23 PM
It has to do with the garbage clean-up that occurs with webworks. It used to happen when memory usage changed more than 5 or 10% but that caused apps to delay on start-up and random points during execution. To deal with that it now runs on close. So it is out of your control at the moment, but I belive there are more improvements coming with WW 2.4.
The delay probably gets longer as you load more data into the app.
03-13-2012 09:44 PM
That would make sense, my app does use a lot of data. Has there been any word on the street as to when WW 2.4 might be coming out? The problem has been severe enough I've considered redoing the phone version of my app with Java.
03-13-2012 10:08 PM
03-13-2012 10:22 PM
03-14-2012 01:22 AM