{ "id": "107881", "key": "TIMOB-12289", "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": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "15093", "description": "2013 Sprint 03 Core", "name": "2013 Sprint 03 Core", "archived": true, "released": true, "releaseDate": "2013-02-11" }, { "id": "14813", "description": "2013 Sprint 03", "name": "2013 Sprint 03", "archived": true, "released": true, "releaseDate": "2013-02-11" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-02-09T01:12:26.000+0000", "created": "2013-01-15T13:22:10.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [ { "id": "24659", "type": { "id": "10020", "name": "Depends", "inward": "is dependent of", "outward": "depends on" }, "inwardIssue": { "id": "107876", "key": "TIMOB-12288", "fields": { "summary": "Android: Mapviews cause memory leak of windows", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "25854", "type": { "id": "10122", "name": "Gantt: start-finish", "inward": "is triggered by", "outward": "is triggering" }, "outwardIssue": { "id": "108200", "key": "TIMOB-12405", "fields": { "summary": "Android: Titanium object modules shown retained (Memory Analyzer Tool)", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "24549", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "107323", "key": "TIMOB-12184", "fields": { "summary": "21st Century: Android: Memory leak in bill pay section", "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" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-02-26T11:44:32.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "Reproduction steps:\r\n\r\n1. Run the app attached\r\n2. Navigate through the windows\r\n3. Go back to the home screen with 'open 2nd window'\r\n4. Repeat steps 2&3 and see the memory grow in DDMS\r\n\r\n\r\nActual Results:\r\nThe allocated memory keeps growing when you are at the home screen\r\n\r\nExpected Results:\r\nThe allocated memory should not keep growing and growing", "attachment": [ { "id": "34749", "filename": "Demo.zip", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-15T13:22:10.000+0000", "size": 5844324, "mimeType": "application/zip" } ], "flagged": false, "summary": "Android: Memory leak when a view event listener references a parent", "creator": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "234680", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-16T17:57:41.000+0000", "updated": "2013-01-16T17:57:41.000+0000" }, { "id": "234839", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Updated test instructions:\n\n1. Run the code:\n\n{code}\nvar win = Ti.UI.createWindow({\n\tfullscreen : true\n});\n\nvar button = Ti.UI.createButton({\n\ttitle : 'open window'\n});\n\nbutton.addEventListener('click', function() {\n\tvar win2 = Ti.UI.createWindow({\n\t\tbackgroundColor: 'white',\n\t\tfullscreen: true\n\t});\n\n\twin2.buffer = Ti.createBuffer({\n\t\tlength : 250 * 1024\n\t});\n\n\tvar previousView = Ti.UI.createView({});\n\twin2.add(previousView);\n\n\tfor (var i = 0; i < 10; i++) {\n\t\tvar view = Ti.UI.createView({});\n\t\tview.addEventListener('click', function() {\n\t\t\twin2.backgroundColor = 'blue';\n\t\t});\n\t\tpreviousView.add(view);\n\t\tpreviousView = view;\n\t}\n\twin2.open();\n});\n\nwin.add(button);\nwin.open();\n\n{code}\n2. Hit open window and back\n3. Watch the allocated memory grow in DDMS\n\nExpected results:\nThe allocated memory should be relatively the same\n\nActual Results:\nThe allocated memory grows.", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-17T17:22:54.000+0000", "updated": "2013-01-17T17:22:54.000+0000" }, { "id": "237344", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/3844\n", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-02-06T01:35:50.000+0000", "updated": "2013-02-06T01:35:50.000+0000" }, { "id": "239787", "author": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Allocated memory is relatively same.\r\n\r\nVerified on:\r\nSDK version: 3.1.0.v20130225195538\r\nCLI version : 3.0.24\r\nOS : MAC OSX 10.7.5\r\nXCode : 4.5.1\r\nStudio : 3.0.2.201302041757\r\n", "updateAuthor": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-02-26T11:44:32.000+0000", "updated": "2013-02-26T11:44:32.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }