You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by GitBox <gi...@apache.org> on 2019/05/29 04:06:17 UTC
[GitHub] [incubator-weex] lhjandroid opened a new issue #2488: android weex加载远程js 有些手机oom
lhjandroid opened a new issue #2488: android weex加载远程js 有些手机oom
URL: https://github.com/apache/incubator-weex/issues/2488
`Caused by: java.lang.OutOfMemoryError: Failed to allocate a 620105384 byte allocation with 6291456 free bytes and 509MB until OOM, max allowed footprint 8818312, growth limit 536870912
at java.lang.AbstractStringBuilder.<init>(AbstractStringBuilder.java:69)
at java.lang.StringBuilder.<init>(StringBuilder.java:102)
at com.taobao.weex.utils.WXFileUtils.readStreamToString(WXFileUtils.java:90)
at com.taobao.weex.utils.WXFileUtils.loadFileOrAsset(WXFileUtils.java:56)
at com.taobao.weex.WXSDKInstance.renderByUrlInternal(WXSDKInstance.java:737)
at com.taobao.weex.WXSDKInstance.renderByUrl(WXSDKInstance.java:816)
at .WXPageActivity.n(WXPageActivity.java:123)
at .WXPageActivity.j(WXPageActivity.java:75)
at .WXPageActivity.onCreate(Unknown Source:20)`
weex版本 'com.taobao.android:weex_sdk:0.20.0.2'
是由于下载的js过大导致的?android端只负责渲染 weex页面由前端同学开的.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services