[
https://issues.apache.org/jira/browse/CB-6924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14034101#comment-14034101
]
ASF GitHub Bot commented on CB-6924:
------------------------------------
GitHub user stacic opened a pull request:
https://github.com/apache/cordova-wp8/pull/41
CB-6924 Fixed memory leak in WP page navigation
Occurred when navigating back and forth from native to hybrid page.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/stacic/cordova-wp8 CB-6924
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-wp8/pull/41.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #41
----
commit 0c5f0e393db026633afd89fec0684c0021d19df6
Author: Staci Cooper <[email protected]>
Date: 2014-06-17T17:43:54Z
CB-6924 Fixed memory leak in WP page navigation
Occurred when navigating back and forth from native to hybrid page.
----
> 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: Staci Cooper
> 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)