{ "id": "62231", "key": "TIMOB-1599", "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": "11225", "name": "Release 1.5.0", "archived": true, "released": true, "releaseDate": "2010-12-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:56:37.000+0000", "created": "2011-04-15T02:57:03.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [ "android", "defect" ], "versions": [], "issuelinks": [], "assignee": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2011-04-17T01:56: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": "{html}

Example:

\n
\njava.lang.OutOfMemoryError: bitmap size exceeds VM budget\nat android.graphics.BitmapFactory.nativeDecodeStream(Native Method)\nat android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:468)\nat android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:528)\nat android.graphics.drawable.BitmapDrawable.<init>(BitmapDrawable.java:144)\nat ti.modules.titanium.ui.widget.tableview.TiBaseTableViewItem.createHasChildDrawable(TiBaseTableViewItem.java:64)\n
{html}", "attachment": [], "flagged": false, "summary": "Android: OutOfMemoryError in TiBaseTableViewItem.createHasChildDrawable ", "creator": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "comment": { "comments": [ { "id": "126161", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

Though the bitmap is always the same, not changeable (static),\nwe're loading it from stream for each row that uses it.

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T02:57:03.000+0000", "updated": "2011-04-15T02:57:03.000+0000" }, { "id": "126162", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [993389ac0e70c01a22aaa2d160092c90eeb3ef5a])\n[#1599] Reduce potential OOMs by caching the\nstatic bitmaps for hasCheck and hasChild \nhttp://github.com/appcelerator/titanium_mobile/commit/993389ac0e70c...

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:57:03.000+0000", "updated": "2011-04-15T02:57:03.000+0000" }, { "id": "126163", "author": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Bump, just checking if your commit fixed the issue and we should\nmark as fixed?

{html}", "updateAuthor": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:57:03.000+0000", "updated": "2011-04-15T02:57:03.000+0000" }, { "id": "126164", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

closing, no testable failcase and we've had other tickets\nrelated to memory and drawables.

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T02:57:04.000+0000", "updated": "2011-04-15T02:57:04.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }