Skip to content

[UWP] Memory leakage

Summary

Disposing of LibVLC components is not complete

Minimal project and steps to reproduce

Minimal project

Example is based on UWP sample provided. I've copied MainPage and made cross links between two. Pages to be navigated by clicking hyperlinks to each other in the center of app window. Every iteration of video appearing will eat some memory.

What is the current bug behavior?

increasing memory consumption by application at each videoview initialization.

What is the expected correct behavior?

about constant memory allocation for an app

Environment

OS: Windows 10 x64 Version 1809 Device: DELL XPS 15 9560 VideoLAN.LibVLC.UWP 3.2.0 LibVLCSharp version 3.3.1

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information