[AC-4542] Android WebView is not rendered because of memory
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Needs more info |
Resolution Date | 2016-11-02T16:19:08.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | android |
Reporter | Creative |
Assignee | Shak Hossain |
Created | 2016-10-11T08:11:10.000+0000 |
Updated | 2016-11-22T15:55:46.000+0000 |
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"
I 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.
For now I am rolling back to 5.3.1.GA.
Also getting this issue.
Hello, Please share a sample test code that regenerates the issue. Can you try with SDK 5.5.1.GA. Thanks.
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. under the manifest in tiapp.xml add the property
to the
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.
Is there a way of targeting the web view component only - not the entire application? Via activities ? I haven't figured a way of doing this yet. Working on it.