{"action":"opened","issue":{"url":"https://api.github.com/repos/EddyVerbruggen/Calendar-PhoneGap-Plugin/issues/234","labels_url":"https://api.github.com/repos/EddyVerbruggen/Calendar-PhoneGap-Plugin/issues/234/labels{/name}","comments_url":"https://api.github.com/repos/EddyVerbruggen/Calendar-PhoneGap-Plugin/issues/234/comments","events_url":"https://api.github.com/repos/EddyVerbruggen/Calendar-PhoneGap-Plugin/issues/234/events","html_url":"https://github.com/EddyVerbruggen/Calendar-PhoneGap-Plugin/issues/234","id":108425434,"number":234,"title":"App freezes after 64th call to findEvent in loop","user":{"login":"tcowin","id":1229114,"avatar_url":"https://avatars.githubusercontent.com/u/1229114?v=3","gravatar_id":"","url":"https://api.github.com/users/tcowin","html_url":"https://github.com/tcowin","followers_url":"https://api.github.com/users/tcowin/followers","following_url":"https://api.github.com/users/tcowin/following{/other_user}","gists_url":"https://api.github.com/users/tcowin/gists{/gist_id}","starred_url":"https://api.github.com/users/tcowin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tcowin/subscriptions","organizations_url":"https://api.github.com/users/tcowin/orgs","repos_url":"https://api.github.com/users/tcowin/repos","events_url":"https://api.github.com/users/tcowin/events{/privacy}","received_events_url":"https://api.github.com/users/tcowin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-25T23:50:04Z","updated_at":"2015-09-25T23:50:04Z","closed_at":null,"body":"I have one page in my app that displays a list of events - it has 77 events now. By each event, I offer a link to 'add to calendar' or 'remove from calendar', depending upon if the event is in the Calendar. After populating the primary html of the list(without those add/remove links), I go through another loop to call findEvent on each and then add the appropriate link to each event listing via javascript. This has been working fine over the last few years, but when I try it in a new app with the very latest _everything_, it freezes on the 64th call without an error. If I limit it to 63 calls, then it works perfectly. But once I do the 64th call, none of the success callback functions fire. It seems to be the same behavior on an iPhone 6 or the emulated iPhone. Is there some sort of call stack I could be over running? It appears to be using 42MB when it freezes, almost as if it has a limit of 42 on the real iPhone, but in emulation it uses more memory. I get no errors..."}}