{ "id": "79669", "key": "TIMOB-5115", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "12088", "description": "", "name": "Sprint 2011-48", "archived": true, "released": true, "releaseDate": "2011-12-05" } ], "resolution": { "id": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2011-12-01T16:00:32.000+0000", "created": "2011-08-26T09:55:41.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "1.7.2", "look1", "memory" ], "versions": [ { "id": "11570", "description": "", "name": "Release 1.7.2", "archived": true, "released": true, "releaseDate": "2011-07-21" } ], "issuelinks": [], "assignee": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-23T21:44:11.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "h5.Problem\r\nLabels are being stack up and never going away memory. As the attached screenshot shows up (#LIVING column has over 6300 objects).\r\n\r\nh5.Steps to reproduce\r\nThe steps are as follows:\r\n{noformat}\r\n1.) Go to the events tab\r\n2.) Open a event and then close it\r\n3.) Repeat opening and closing event 30-50 times\r\n4.) The application will slow to a crawl\r\n{noformat}\r\n\r\nh5.Repro sequence\r\nThe app resources are attached to ticket.\r\n\r\nh5.Associated HD ticket\r\nAPP-885985\r\n\r\nh5.Further info\r\nThe function to debug is createEventsDetailWindow. It is also maybe more like 30 times or so and it starts to really slow down. You can tell that the window starts populating slower and slower as you open and close more events.", "attachment": [ { "id": "22691", "filename": "AllocationsMemory.jpg", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-08-26T09:55:41.000+0000", "size": 143897, "mimeType": "image/jpeg" }, { "id": "22772", "filename": "Resources-5115.zip", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-09-01T07:21:13.000+0000", "size": 908779, "mimeType": "application/zip" } ], "flagged": false, "summary": "Memory leak on iPad app", "creator": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Product: Mobile\r\nTitanium SDK: Mobile 1.7.2\r\nPlatform OS: iOS\r\nPlatform OS Version: 4.3 ", "comment": { "comments": [ { "id": "164657", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "There's no sample code, and the helpdesk ticket is closed to me (IE, \"The ticket you are trying to open is private, doesn't exist or it is not valid\"). Given how often this has happened, or worse, the ticket completely lost when helpdesk platforms change, we really should insist on all information, including source, is required in the Jira ticket, and that linking to any external sources, including helpdesk, is insufficient.", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-08-31T14:19:47.000+0000", "updated": "2011-08-31T14:19:47.000+0000" }, { "id": "164813", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Code is now there", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-09-01T12:27:24.000+0000", "updated": "2011-09-01T12:27:24.000+0000" }, { "id": "171923", "author": { "name": "ryanduval", "key": "ryanduval", "displayName": "Ryan DuVal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Can I ask the status on this?", "updateAuthor": { "name": "ryanduval", "key": "ryanduval", "displayName": "Ryan DuVal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-11-08T11:15:22.000+0000", "updated": "2011-11-08T11:15:22.000+0000" }, { "id": "172007", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Took instruments to this again, and did some deep introspection into the Titanium engine on this one.\r\n\r\n 1) The latter windows are sticking around with a retain count of 2\r\n 2) The two unmatched retains are missing [KrollObject release] and [KrollBridge unregister]. This means it is being held due to javascript.\r\n 3) In the action of being closed, [self forgetSelf] IS being called, so the JS retention is not due to rememberself.\r\n 4) In the lifetime of the window, it is not assigned as a property to any other proxy, so the JS retention is not due to rememberProxy\r\n\r\nTherefore, the memory leak is due to JS retention, and the retention is coming from the javascript itself. I'll be talking with Eduardo on this, as 30 to 40+KB of javascript is too large for a minimum fail case.", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-11-08T18:28:08.000+0000", "updated": "2011-11-08T18:28:08.000+0000" }, { "id": "174503", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Talked with Shaq and Eduardo. Tentatively marking this as needs more info for now, until we get a minimum fail case.", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-01T15:59:53.000+0000", "updated": "2011-12-01T15:59:53.000+0000" }, { "id": "415426", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket because the information that was requested was never provided.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-23T21:44:11.000+0000", "updated": "2017-03-23T21:44:11.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }