You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Staci Cooper (JIRA)" <ji...@apache.org> on 2014/06/11 22:12:02 UTC

[jira] [Created] (CB-6924) Memory leak navigating between native and hybrid pages in WP

Staci Cooper created CB-6924:
--------------------------------

             Summary: 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


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)