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

weifengsmile commented on WEEX-491:
-----------------------------------

[~codefurture] [~xyyxyy1234]  Thanks for reply.

Though the activity stack can be cleared by *adding intent flags*, the vital 
problem is *heap memory usage*.

As the previous description I have given, when the page has a lot of *images 
load* from network, such as weibo list scenario, the *heap memory* caused by 
*Bitmap* will increase all the time. And when this activity is finished or 
cleared, *these memory usage cannot reduce*.

So if I push as many as this kind of pages no matter how many  I pop or clear, 
the heap memory will increase all the time until app crashes.

I think it maybe some issues about weexSDK, but I don't know how to fix it.

Could you please help me to solve this problem? Thanks

> 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)

Reply via email to