You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@weex.apache.org by "weifengsmile (JIRA)" <ji...@apache.org> on 2018/07/06 07:53:00 UTC

[jira] [Commented] (WEEX-486) when i use navigator to implement multipage on android , OOM crash will easily happened

    [ https://issues.apache.org/jira/browse/WEEX-486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16534540#comment-16534540 ] 

weifengsmile commented on WEEX-486:
-----------------------------------

你好,请问你解决这个问题了吗?

> when i use navigator to implement multipage on android , OOM crash will easily happened 
> ----------------------------------------------------------------------------------------
>
>                 Key: WEEX-486
>                 URL: https://issues.apache.org/jira/browse/WEEX-486
>             Project: Weex
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 0.19
>            Reporter: fdh19979
>            Assignee: codefurture
>            Priority: Critical
>
> 修改webpack,实现多页面打包,在原生每个activity或者controller中render一个JS文件
> 我发现在安卓中,使用WXFileUtils中loadAsset时,很容易在readStreamToString中出现OOM内存溢出
> 使用android profile发现,不停开启新页面的情况下,内存占用一直上升,关闭页面后,内存占用并不会下降



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)