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

[jira] [Created] (WEEX-274) Memory leak, Views increase continuously and will not be recycled in SPA mode page

mjsornp created WEEX-274:
----------------------------

             Summary: Memory leak, Views increase continuously and will not be recycled in SPA mode page
                 Key: WEEX-274
                 URL: https://issues.apache.org/jira/browse/WEEX-274
             Project: Weex
          Issue Type: Bug
          Components: Android
    Affects Versions: 0.18
         Environment: platform: android
version: 5.1
            Reporter: mjsornp
            Assignee: zhengshihan
         Attachments: memory_leak.jpg

We found memory leak obviously with SPA mode page update。

 

The operation step as below:

weex page(SPA mode, page 1) start anothor APK to scan QR code  ->

another APK scan QR code and then finish() -> 

weex onActivityResult invoke jsCallBack  to show QR code content in weex page(SPA mode, page2) ->   

The Views increasing and will not recycled, and memory leak obviously.

!memory_leak.jpg!

 



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