[
https://issues.apache.org/jira/browse/WEEX-491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16533543#comment-16533543
]
XuYouyang commented on WEEX-491:
--------------------------------
[~weifengsmile] I think whether vm does not execute gc? Maybe you can debug
through Android Studio to force gc after the activity popped by navigator and
observe the memory info.
> navigator 是否能增加清除页面栈的方法?
> ------------------------
>
> Key: WEEX-491
> URL: https://issues.apache.org/jira/browse/WEEX-491
> Project: Weex
> Issue Type: Wish
> Components: Android, iOS
> Reporter: weifengsmile
> Assignee: codefurture
> Priority: Major
> Labels: easyfix
>
> 目前的navigator模块,做跳转时只能push,pop,open或close,并不能清除之前的页面栈,所以能不能增加这个功能,否则在某些场景,页面可能被无限push导致堆栈内存占用不断增加最终OOM
> 或者说,目前有什么方案可以解决这个问题吗?
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)