{ "id": "107871", "key": "TIMOB-12286", "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": "14164", "description": "Release 3.0.2", "name": "Release 3.0.2", "archived": true, "released": true, "releaseDate": "2013-02-19" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "15070", "description": "2013 Sprint 02 Core", "name": "2013 Sprint 02 Core", "archived": true, "released": true, "releaseDate": "2013-01-28" }, { "id": "14812", "description": "2013 Sprint 02", "name": "2013 Sprint 02", "archived": true, "released": true, "releaseDate": "2013-01-28" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-01-29T00:03:39.000+0000", "created": "2013-01-15T10:33:25.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "module_memory", "qe-testadded" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [ { "id": "24560", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "107394", "key": "TIMOB-12211", "fields": { "summary": "21st Century: Android: Possible memory leak on backing out of app", "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 } } } }, { "id": "25853", "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": "24550", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "107394", "key": "TIMOB-12211", "fields": { "summary": "21st Century: Android: Possible memory leak on backing out of app", "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 } } } }, { "id": "24548", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "104896", "key": "TIMOB-11752", "fields": { "summary": "Android: Globals not accessible in CommonJS modules", "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 } } } } ], "assignee": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-19T12:43:45.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": "Steps to reproduce:\r\n\r\n1. Run the following code:\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n layout: 'vertical'\r\n});\r\nwin.buffer = Ti.createBuffer({length: 250 * 1024});\r\nwin.open();\r\n{code}\r\n2. Back out of the app\r\n3. Relaunch the app\r\n\r\nActual Results:\r\nIf you use DDMS, you will notice that the allocated memory will increase over time if you repeat steps 2-3.\r\n\r\nExpected Results:\r\nThe memory does not increase", "attachment": [], "flagged": false, "summary": "Android: Memory leak when backing out and coming back to an app", "creator": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [ { "id": "108681", "key": "TIMOB-12461", "fields": { "summary": "Backport to 3_0_X: TIMOB-12286", "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": "5", "description": "The sub-task of the issue", "name": "Sub-task", "subtask": true } } } ], "reporter": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "234500", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "When we fix this back and forth bug by creating a new context after each launch, it seems to trigger some slow behavior when loading modules at startup. This happens if you relaunch the app MANY times... like 20 or more. If we make the module use the existing context as mentioned in TIMOB-11752, this lag on startup issue should be fixed.", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-15T17:23:42.000+0000", "updated": "2013-01-15T17:23:42.000+0000" }, { "id": "235435", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/titanium_mobile/pull/3757", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-23T00:33:59.000+0000", "updated": "2013-01-23T00:33:59.000+0000" }, { "id": "236404", "author": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with: \r\nSDK:3.1.0.v20130128172329,3.0.2.v20130128174806\r\nStudio:3.0.2.201301251115\r\nDevice: Android emulator(v 2.3.3)", "updateAuthor": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-29T09:11:22.000+0000", "updated": "2013-01-29T09:11:22.000+0000" }, { "id": "269462", "author": { "name": "insidioso93", "key": "insidioso93", "displayName": "Luca Marzi", "active": true, "timeZone": "America/Los_Angeles" }, "body": "On my Samsung Galaxy Note II android 4.1.2 the is still present.\r\nEvery application built with Titanium (I use 3.1.2 GA) increases his space in RAM every time it is closed (with backbutton) and, then, launched again.\r\nDemo applications like \"Master/Detail Application\" or \"Todo List\" show the same problem.", "updateAuthor": { "name": "insidioso93", "key": "insidioso93", "displayName": "Luca Marzi", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-04T13:09:23.000+0000", "updated": "2013-09-04T13:09:23.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }