{ "id": "169591", "key": "AC-5148", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2017-11-23T23:35:23.000+0000", "created": "2017-08-17T04:01:59.000+0000", "labels": [ "memoryleak" ], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-11-23T23:35:23.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": "14544", "name": "Alloy", "description": "Please enter tickets related to the Alloy here." } ], "description": "Chasing down memory leaks. It seems that opening a window and closing it will not release neither the WindowProxy or all of it's children proxies. I stripped everything down to basics to make sure it wasn't a widget or anything else I was doing. \r\n\r\nI attached the View, StyleSheet, Controller of the window. It get's opened by another window button via: Alloy.createController(\"contactsList\").getView().open(); \r\nso no reference left there. \r\n\r\nIt's not a big issues for this particular window but it seems that it happens with every window so proxies add up quickly and eventually out of memory. Especially on Android. Is it possible that all children proxies won't release because the windowproxy is not released?\r\n\r\nWhile testing the windowproxy gets released the first time it's opened after about 20s in instruments, all subsequent times it won't get released.", "attachment": [ { "id": "63099", "filename": "contactsList.js", "author": { "name": "amigoni", "key": "amigoni", "displayName": "Leonardo Amigoni", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-08-17T03:59:40.000+0000", "size": 47, "mimeType": "text/javascript" }, { "id": "63100", "filename": "contactsList.tss", "author": { "name": "amigoni", "key": "amigoni", "displayName": "Leonardo Amigoni", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-08-17T03:59:15.000+0000", "size": 1518, "mimeType": "application/octet-stream" }, { "id": "63098", "filename": "contactsList.xml", "author": { "name": "amigoni", "key": "amigoni", "displayName": "Leonardo Amigoni", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-08-17T03:59:56.000+0000", "size": 438, "mimeType": "text/xml" } ], "flagged": false, "summary": "TiUIWindowProxy does not get released in Alloy iOS instruments", "creator": { "name": "amigoni", "key": "amigoni", "displayName": "Leonardo Amigoni", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "amigoni", "key": "amigoni", "displayName": "Leonardo Amigoni", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Titanium SDK 6.0.4, iOS SDK 10.2, Simulator 10.2", "comment": { "comments": [ { "id": "429788", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, Can you try to reproduce it with latest SDK 6.3.0.GA?", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2017-10-29T19:44:38.000+0000", "updated": "2017-10-29T19:44:38.000+0000" }, { "id": "431196", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello [~amigoni], \r\nI just wanted to follow up here.Can you try SDK 6.3.0.GA? Let us know if you still experience any issue. We would be happy to assist you.\r\nBest Regards!\r\n", "updateAuthor": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2017-11-23T04:09:54.000+0000", "updated": "2017-11-23T04:09:54.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }