{ "id": "151002", "key": "TIMOB-19638", "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": [], "resolution": null, "resolutiondate": null, "created": "2015-09-05T19:41:31.000+0000", "priority": null, "labels": [ "alloy", "android", "leak", "memory", "menu" ], "versions": [], "issuelinks": [], "assignee": null, "updated": "2018-02-28T19:55:49.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [], "description": "I test my code for memory leaks. When I use Menu in my View I can't to make sure that memory fully released. Not all proxy removed from memory after closing test window. Some time but rarely all proxies and his native views removed fully. \r\n\r\nWhy it happens and how to deal with this behavior?\r\nThe situation is complicated by using a more complex controller with a many of child Views.\r\n\r\n{code:xml|title=testWindow.xml}\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n{code}\r\n\r\n{code:javascript|title=testWindow.js}\r\n// empty\r\n{code}\r\n\r\n\r\n{code:javascript|title=index.js}\r\nfunction doClick(e) {\r\n Alloy.createController('testWindow').getView().open();\r\n}\r\n\r\n$.index.open();\r\n{code}\r\n\r\n{code:xml|title=index.xml}\r\n\r\n\t\r\n\t \r\n\t\t\r\n\t\r\n\r\n{code}\r\n\r\n!dumps.png|thumbnail!\r\n", "attachment": [ { "id": "56648", "filename": "1st Dump.png", "author": { "name": "morahman", "key": "morahman", "displayName": "Motiur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2015-09-07T09:27:39.000+0000", "size": 147694, "mimeType": "image/png" }, { "id": "56647", "filename": "2nd Dump.png", "author": { "name": "morahman", "key": "morahman", "displayName": "Motiur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2015-09-07T09:27:36.000+0000", "size": 146141, "mimeType": "image/png" }, { "id": "56641", "filename": "dumps.png", "author": { "name": "falko", "key": "falko", "displayName": "Andrey Tkachenko", "active": true, "timeZone": "Europe/Moscow" }, "created": "2015-09-05T19:43:46.000+0000", "size": 108954, "mimeType": "image/png" } ], "flagged": false, "summary": "Memory Leak in Alloy android Menu?", "creator": { "name": "falko", "key": "falko", "displayName": "Andrey Tkachenko", "active": true, "timeZone": "Europe/Moscow" }, "subtasks": [], "reporter": { "name": "falko", "key": "falko", "displayName": "Andrey Tkachenko", "active": true, "timeZone": "Europe/Moscow" }, "environment": "Ti.SDK 3.5.1, Android Genymotion 4.2.2", "comment": { "comments": [], "maxResults": 1, "total": 1, "startAt": 0 } } }