{ "id": "120990", "key": "TIMOB-15439", "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": "15703", "description": "2013 Sprint 22", "name": "2013 Sprint 22", "archived": true, "released": true, "releaseDate": "2013-11-01" }, { "id": "15705", "description": "2013 Sprint 22 Core", "name": "2013 Sprint 22 Core", "archived": true, "released": true, "releaseDate": "2013-11-01" } ], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2013-10-28T22:55:39.000+0000", "created": "2013-10-09T13:02:50.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "regression" ], "versions": [], "issuelinks": [ { "id": "32416", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "119984", "key": "TIMOB-15200", "fields": { "summary": "Android: ImageView.image from XHR no longer shows new image", "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": "32415", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "117986", "key": "TIMOB-14777", "fields": { "summary": "Android: NullPointerException on ListView + ImageView", "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": "2017-03-21T22:34:00.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": "h2. Description of the problem\r\nWhen there are few ImageViews in the app, if the image is big, the Emulator crashes with an 'out-of-memory' error. Images in the test is 280KB and is added 5 times to the app.\r\n\r\nh2. Steps to reproduce\r\nUse the attached image, and the following code:\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor: 'black'\r\n});\r\n\r\nfunction createImageView() {\r\n\tvar iv = Ti.UI.createImageView({\r\n\t\tbackgroundImage: '/background_main.png'\r\n\t});\r\n\t\r\n\treturn iv;\r\n}\r\n\r\nfor (var i=0; i<5; i++) {\r\n\twin.add(createImageView());\r\n}\r\n\r\nwin.open();\r\n{code}\r\n\r\nh2. Note\r\nRunning this on Nexus 4 with Android 4.3.3 works fine; same using SDK 3.1.2. Before the crash, the heap size increases up to ~48MB and then the app exits.", "attachment": [ { "id": "43031", "filename": "background_main.png", "author": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-10-09T13:04:11.000+0000", "size": 286070, "mimeType": "image/png" }, { "id": "43437", "filename": "timob-15439-3.1.2.txt", "author": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-10-24T17:09:51.000+0000", "size": 579, "mimeType": "text/plain" }, { "id": "43438", "filename": "timob-15439-3.1.3.txt", "author": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-10-24T17:09:51.000+0000", "size": 19036, "mimeType": "text/plain" } ], "flagged": false, "summary": "Android: App crashes with just a few ImageViews", "creator": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "environment": "SDK 3.1.3\r\nAndroid 4.2.2 (Emulator)", "comment": { "comments": [ { "id": "274359", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~dcassenti] to confirm:\r\n\r\n* 3.1.2 + all Android devices => no problem\r\n* 3.1.3 + Android 4.2.2 => crash\r\n* 3.1.3 + Android 4.3.3 => no problem\r\n\r\nIs this correct?\r\n", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-09T13:07:47.000+0000", "updated": "2013-10-09T13:08:15.000+0000" }, { "id": "274380", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I added the two ImageView tickets fixed in 3.1.3. Either of those look like culprits?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-09T15:41:23.000+0000", "updated": "2013-10-09T15:41:23.000+0000" }, { "id": "276621", "author": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "body": "Attaching logs coming from Android Emulator 4.2.2 with SDK 3.1.2 vs 3.1.3\r\n\r\nThe heap grows drastically with 3.1.3, while is fine in 3.1.2", "updateAuthor": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-10-24T17:09:51.000+0000", "updated": "2013-10-24T17:09:51.000+0000" }, { "id": "277057", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I could not reproduce this on the latest master branch. I tried on a 4.2.2 emulator, and a 4.2.2 device. From the logs, this looks like it is fast dev related. If that is the case, it will not exist in the latest master build since we don't support fastdev with the new Android Build command.\r\n\r\nPlease refer to TIMOB-15519 on the fastdev deprecation status.", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-28T22:55:39.000+0000", "updated": "2013-10-28T22:55:39.000+0000" }, { "id": "414590", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the issue cannot be reproduced and due to the above comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-21T22:34:00.000+0000", "updated": "2017-03-21T22:34:00.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }