Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.
This repository was archived by the owner on May 1, 2024. It is now read-only.

UWP: Webview: Memory Leak #4720

Closed
@csk1nner

Description

@csk1nner

Description

Using Xamarin.Forms (3.4.0.1008975), for UWP (windows 10) the webview control will take more and more memory space until it crashes the application

Steps to Reproduce

  1. Create a simple Xamarin.Forms application where page A navigates to page B that encapsulates a webview
  2. Run the application and note the memory in Task Manager that the application is consuming
  3. Navigate to the page that contains the webview. Notice that Task Manager is increasing the memory footprint of the application.
  4. Navigate back to the root (page A). Notice that the memory footprint in task manager is not fully recycled.
  5. Repeat steps 3 & 4 until application crashes

Expected Behavior

The webview control should closely mimic the resource allocation of Edge browser

Actual Behavior

After three or four navigation cycles (depends on webpage) the application crashes.

Basic Information

  • Version with issue: 3.4.0.1008975
  • Last known good version:
  • IDE: Visual Studio 2017
  • Platform Target Frameworks:
    • iOS:
    • Android:
    • UWP: 17134
  • Android Support Library Version:
  • Nuget Packages:
  • Affected Devices:
    UWP (Windows 10)

Screenshots

http://dynamiconnections.com/downloads/screenshot.png

Reproduction Link

http://dynamiconnections.com/downloads/navigationsample.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    a/performancea/webviewblockerIssue blocks next stable release. Prioritize fixing and reviewing this issue.e/5 🕔5in-progressThis issue has an associated pull request that may resolve it!p/UWPpartner/cat 😻t/bug 🐛up-for-grabsWe welcome community contributions to any issue, but these might be a good place to start!

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions