cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Staci Cooper (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-6924) Memory leak navigating between native and hybrid pages in WP
Date Wed, 11 Jun 2014 20:50:02 GMT

     [ https://issues.apache.org/jira/browse/CB-6924?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Staci Cooper updated CB-6924:
-----------------------------

    Attachment: memleak.zip

example project

> Memory leak navigating between native and hybrid pages in WP
> ------------------------------------------------------------
>
>                 Key: CB-6924
>                 URL: https://issues.apache.org/jira/browse/CB-6924
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: WP8
>    Affects Versions: Master
>            Reporter: Staci Cooper
>            Assignee: Jesse MacFadyen
>         Attachments: memleak.zip
>
>
> Context: Modify HelloWorld Cordova app for WP8 by adding a native page as the start page.
Then give it a button to navigate to the Cordova page, MainPage.xaml
> Launch application to opening page (native).
> Click button to go to Cordova page.
> Click hardware back button to go to opening page.
> Repeat 4 times.
> When inspecting the memory profile, you see a steady increase in memory, and 5 copies
of MainPage which have not been garbage collected (even if you force garbage collection).
> If this is done enough times the app crashes due to surpassing memory limit.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message