I have a native application using Rhodes and jQuery Mobile (but not a JQM-specific question). Rhodes runs a web server in the device. Some JS code sends some simple notifications to the internal web server using $.post(). It simply posts to a URL with no data:
$.post("/app/Settings/" + (enable ? "enable" : "disable") + "_form_assistant");
These XHRs seem to accumulate. Using Safari Web Inspector (remote-inspecting iPhone simulator or device), they seem to accumulate endlessly. I haven't verified if there is some limit beyond which this will not grow, however.
As well, XHRs that are the result of $.mobile.changePage()calls accumulate as well. But the simple posts seem like an easier situation to diagnose.
later on, after some navigation:
Is this something to be concerned about? Does this represent a memory leak? Or is it just Safari helpfully keeping these around (hopefully, just for a while) for inspection?