{ "id": "85639", "key": "TIMOB-7811", "fields": { "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "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": "12097", "description": "", "name": "Sprint 2012-05", "archived": true, "released": true, "releaseDate": "2012-03-11" }, { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-03-12T08:58:57.000+0000", "created": "2012-01-27T11:03:43.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-22T21:19:11.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": "Please review https://wiki.appcelerator.org/display/guides/Managing+Memory+and+Finding+Leaks\r\n\r\n* Confirm that Android memory limits are correct as noted\r\n* Confirm that memory is released & garbage collected as noted on Android\r\n* Document procedure for memory profiling with DDMS", "attachment": [], "flagged": false, "summary": "APIdoc: Android - review memory management and profiling guide", "creator": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "environment": null, "comment": { "comments": [ { "id": "181002", "author": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Neeraj asked us to create tickets to track reviews of guides content, so it could be scheduled into sprints.\r\n\r\nIn this case, note that we also need information on how to do memory profiling on Android.", "updateAuthor": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-28T11:30:16.000+0000", "updated": "2012-01-28T11:30:16.000+0000" }, { "id": "181955", "author": { "name": "nderzhak", "key": "nderzhak", "displayName": "Nikolai Derzhak", "active": true, "timeZone": "America/Phoenix" }, "body": "This issue latest notification was not sent due to JIRA mail setting. Fixed now. Please check the issue for latests changes.", "updateAuthor": { "name": "nderzhak", "key": "nderzhak", "displayName": "Nikolai Derzhak", "active": true, "timeZone": "America/Phoenix" }, "created": "2012-02-06T06:36:39.000+0000", "updated": "2012-02-06T06:36:39.000+0000" }, { "id": "182055", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "I added a section on monitoring allocations on Android. See https://wiki.appcelerator.org/display/guides/Managing+Memory+and+Finding+Leaks#ManagingMemoryandFindingLeaks-MonitoringallocationsonAndroid It would be great to document a way to determine what Ti components are being allocated and orphaned like you can with Instruments. Is there a way?", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2012-02-06T11:27:31.000+0000", "updated": "2012-02-06T11:27:31.000+0000" }, { "id": "182185", "author": { "name": "ivan.skugor", "key": "ivan.skugor", "displayName": "Ivan Skugor", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "Since there are Titanium objects and JS objects, is there a way to monitor those two separately? Because, sometimes TiObjects can be released, but JS object can remain in memory.", "updateAuthor": { "name": "ivan.skugor", "key": "ivan.skugor", "displayName": "Ivan Skugor", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2012-02-07T01:42:56.000+0000", "updated": "2012-02-07T01:42:56.000+0000" }, { "id": "184270", "author": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I think these got lost as doc tickets, so I'm moving them over to TIMOB land.", "updateAuthor": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-02-24T18:41:04.000+0000", "updated": "2012-02-24T18:41:04.000+0000" }, { "id": "185779", "author": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "body": "For the memory limits on Android...\r\n\r\nThe heap limits are set by the device not necessarily by the OS version.\r\nI think instead we should just document how \"memory classes\" work in Android.\r\nSee references bellow, but to summarize the baseline size is 16MB with devices having\r\nmore memory returning higher limits (ex: 24). There is also the \"large\" memory class\r\nthat can be enabled starting in Android 3.0 (API level 11).\r\n\r\nReferences:\r\n - [ActivityManager.getMemoryClass()|http://developer.android.com/reference/android/app/ActivityManager.html#getMemoryClass()]\r\n - [ActivityManager.getLargeMemoryClass()|http://developer.android.com/reference/android/app/ActivityManager.html#getLargeMemoryClass()]\r\n\r\n", "updateAuthor": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-09T10:48:18.000+0000", "updated": "2012-03-09T10:49:40.000+0000" }, { "id": "185968", "author": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Review done. If you require further support/comments\r\nfrom platform please re-open this ticket.", "updateAuthor": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-12T08:58:57.000+0000", "updated": "2012-03-12T08:58:57.000+0000" }, { "id": "414986", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-22T21:19:11.000+0000", "updated": "2017-03-22T21:19:11.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }