{ "id": "89552", "key": "TIMOB-8549", "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": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2012-04-17T13:10:28.000+0000", "created": "2012-04-05T10:34:17.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "SupportTeam", "core" ], "versions": [ { "id": "13070", "description": "Release 1.8 Service Pack 2", "name": "Release 1.8.2", "archived": true, "released": true, "releaseDate": "2012-02-29" } ], "issuelinks": [ { "id": "16698", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "86847", "key": "TIMOB-7779", "fields": { "summary": "Android: V8: Proxy memory leak on emulator.", "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": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-21T22:39:37.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": "*Code*\r\nhttp://pastie.org/3732988\r\n\r\n*Steps to reproduce*\r\nRun the app inside the emulator/device, load up ddms, watch the heap size increase.\r\n\r\n*Expected behavior*\r\nThe code is creating and releasing Ti objects, so it should allocate and deallocate memory over time.\r\n\r\n*Actual behavior*\r\nIt actually keeps building up and gradually increases the heap size, it doesn't seem to go down a lot, it mainly increases. \r\n\r\n*Notes*\r\n-You might have to run this for a few minutes, in order to replicate this behavior. \r\n-The app is opening a new window, and releases it. So you will see the window going back and forth, which is the expected behavior. It will automatically open/close the window over time. You should only have to observe the 'heap size' and 'allocated' in ddms.\r\n-Only tested on the emulator.\r\n-HD ticket: http://support-admin.appcelerator.com/display/APP-341636", "attachment": [], "flagged": false, "summary": "Android: Memory Managment Issue", "creator": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "subtasks": [], "reporter": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "environment": "Titanium SDK version: 1.8.2\r\nPlatform & version: Android 2.3.x\r\nDevice Details: Emulator\r\nHost Operating System: OSX 10.7.2\r\nTitanium Studio version: 1.0.9.201202141208", "comment": { "comments": [ { "id": "190003", "author": { "name": "ryanmarr934", "key": "ryanmarr934", "displayName": "Ryan Marr", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I can confirm that this behavior occurs on device as well as emulator", "updateAuthor": { "name": "ryanmarr934", "key": "ryanmarr934", "displayName": "Ryan Marr", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-04-05T11:26:20.000+0000", "updated": "2012-04-05T11:26:20.000+0000" }, { "id": "190699", "author": { "name": "ryanmarr934", "key": "ryanmarr934", "displayName": "Ryan Marr", "active": true, "timeZone": "America/Los_Angeles" }, "body": "How is this coming? This issue has been a huge annoyance to our customers ", "updateAuthor": { "name": "ryanmarr934", "key": "ryanmarr934", "displayName": "Ryan Marr", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-04-12T06:24:38.000+0000", "updated": "2012-04-12T06:24:38.000+0000" }, { "id": "190803", "author": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "body": "Hey Ryan,\r\n\r\nThis fix has been scheduled for 'Sprint 8', which will be released on the 22nd of this month. The issue should be fixed before that date. Hope that's okay with you.", "updateAuthor": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "created": "2012-04-12T15:12:31.000+0000", "updated": "2012-04-12T15:12:31.000+0000" }, { "id": "190850", "author": { "name": "ryanmarr934", "key": "ryanmarr934", "displayName": "Ryan Marr", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Okay, appreciate the update", "updateAuthor": { "name": "ryanmarr934", "key": "ryanmarr934", "displayName": "Ryan Marr", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-04-13T06:13:38.000+0000", "updated": "2012-04-13T06:13:38.000+0000" }, { "id": "191413", "author": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This looks to be related to the issue fixed in TIMOB-7779. Tested on emulator using 2.0.1 and the leak appears to be gone.", "updateAuthor": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-04-17T12:59:23.000+0000", "updated": "2012-04-17T12:59:23.000+0000" }, { "id": "414597", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-21T22:39:37.000+0000", "updated": "2017-03-21T22:39:37.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }