{ "id": "163865", "key": "AC-4542", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2016-11-02T16:19:08.000+0000", "created": "2016-10-11T08:11:10.000+0000", "labels": [ "android" ], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-11-22T15:55:46.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "\"[WARN] : View: NonHTCWebView not displayed because it is too large to fit into a software layer (or drawing cache), needs 5886720 bytes, only 3686400 available\"\r\n\r\nI basically load a Ti.UI.WebView with some html data (nothing fancy, only text/links/markup). It breaks because apparently it overflows some memory setting. Only very few webviews (say 20 lines of text) stay under the memory limit and are rendered.\r\n\r\nFor now I am rolling back to 5.3.1.GA.\r\n\r\n", "attachment": [], "flagged": false, "summary": "Android WebView is not rendered because of memory", "creator": { "name": "creative_jira_user", "key": "uzbbert", "displayName": "Creative", "active": false, "timeZone": "Europe/Amsterdam" }, "subtasks": [], "reporter": { "name": "creative_jira_user", "key": "uzbbert", "displayName": "Creative", "active": false, "timeZone": "Europe/Amsterdam" }, "environment": "I've found this issue on Ti SDK 5.4.0, 5.5.0 and 5.5.1. Version 5.3.1.GA does not seem to have this bug.\r\n\r\nThis seems to be an Android only issue.", "comment": { "comments": [ { "id": "399331", "author": { "name": "bearus", "key": "bearus", "displayName": "Be Rushton", "active": true, "timeZone": "Australia/Brisbane" }, "body": "Also getting this issue.", "updateAuthor": { "name": "bearus", "key": "bearus", "displayName": "Be Rushton", "active": true, "timeZone": "Australia/Brisbane" }, "created": "2016-10-19T02:43:40.000+0000", "updated": "2016-10-19T02:43:40.000+0000" }, { "id": "399374", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, Please share a sample test code that regenerates the issue. Can you try with SDK 5.5.1.GA. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-10-19T15:40:55.000+0000", "updated": "2016-10-19T15:40:55.000+0000" }, { "id": "399854", "author": { "name": "stereoket", "key": "stereoket", "displayName": "Ketan Majmudar", "active": true, "timeZone": "Europe/London" }, "body": "It can be resolved by disabling hardware acceleration, but this may have an appwide impact. It would be ideal if we could limit to the webview component only. However, there is an issue with the new SDK with regards to this. If I can come up with a test app today I will post some example code.\r\n\r\nunder the manifest in tiapp.xml\r\nadd the property\r\n\r\n{code:java}\r\nandroid:hardwareAccelerated=\"false\"\r\n{code}\r\n\r\nto the element\r\n\r\n\r\n*This is an extreme fix, and just a patch really*", "updateAuthor": { "name": "stereoket", "key": "stereoket", "displayName": "Ketan Majmudar", "active": true, "timeZone": "Europe/London" }, "created": "2016-10-26T09:17:00.000+0000", "updated": "2016-10-26T09:17:00.000+0000" }, { "id": "400373", "author": { "name": "bearus", "key": "bearus", "displayName": "Be Rushton", "active": true, "timeZone": "Australia/Brisbane" }, "body": "This should not be closed unless it has been fixed in SDK 6+. I will try get some time to create a test case to demonstrate the issue.", "updateAuthor": { "name": "bearus", "key": "bearus", "displayName": "Be Rushton", "active": true, "timeZone": "Australia/Brisbane" }, "created": "2016-11-04T02:10:06.000+0000", "updated": "2016-11-04T02:10:06.000+0000" }, { "id": "401695", "author": { "name": "stereoket", "key": "stereoket", "displayName": "Ketan Majmudar", "active": true, "timeZone": "Europe/London" }, "body": "Is there a way of targeting the web view component only - not the entire application? Via activities ?\r\n\r\nI haven't figured a way of doing this yet. Working on it.", "updateAuthor": { "name": "stereoket", "key": "stereoket", "displayName": "Ketan Majmudar", "active": true, "timeZone": "Europe/London" }, "created": "2016-11-22T15:55:46.000+0000", "updated": "2016-11-22T15:55:46.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }