{ "id": "149570", "key": "TIMOB-19197", "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": null, "resolutiondate": null, "created": "2015-07-09T13:18:44.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "Android" ], "versions": [ { "id": "16723", "description": "Windows Platform Support, ListView updates, Vector overlays in maps", "name": "Release 4.1.0", "archived": false, "released": true, "releaseDate": "2015-07-08" } ], "issuelinks": [], "assignee": null, "updated": "2018-02-28T19:55:09.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "My app earlier used a number of rather large jpg images, but it worked well with Android devices even on the markets, after upgrading to SDK 5.02 on Android along with Ti SDK 4 the build now looks very different. It uses art: messages and tries to alloc the same amount of memory unsuccessfully. I have to decrease the amount of images loaded, unfortunately affecting our app much. \r\n\r\nThis is the error log:\r\n\r\nIt repeats it self many times and then crashes. I have to decrease or remove the images and then it builds, but I am surprised that before it worked well and after upgrade there now seem to be a lower limit to image sizes supported somewhere in the stack.\r\n\r\n:(\r\n\r\nart: Clamp target GC heap from 207MB to 192MB\r\n[INFO] : art: Alloc concurrent mark sweep GC freed 3(96B) AllocSpace objects, 0(0B) LOS objects, 0% free, 191MB/192MB, paused 955us total 19.905ms\r\n[ERROR] : art: Throwing OutOfMemoryError \"Failed to allocate a 4194316 byte allocation with 499367 free bytes and 487KB until OOM\"", "attachment": [], "flagged": false, "summary": "Out of memory problems with backgroundImage property on Android", "creator": { "name": "buder", "key": "buder", "displayName": "Jörgen Buder", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "buder", "key": "buder", "displayName": "Jörgen Buder", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Using latest nightly build as well, also using Android SDK 5.02", "comment": { "comments": [ { "id": "357363", "author": { "name": "buder", "key": "buder", "displayName": "Jörgen Buder", "active": true, "timeZone": "Europe/Berlin" }, "body": "Also see this thread:\r\n\r\nhttp://developer.appcelerator.com/question/181927/problems-with-android-since-the-502-upgrade", "updateAuthor": { "name": "buder", "key": "buder", "displayName": "Jörgen Buder", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-07-09T13:40:21.000+0000", "updated": "2015-07-09T13:40:21.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }