Giter Site home page Giter Site logo

Comments (13)

arslan38 avatar arslan38 commented on June 11, 2024

+Up

from flyleaf.

t3therdev avatar t3therdev commented on June 11, 2024

we are also seeing memory leaks on our side. @SuRGeoNix

from flyleaf.

SuRGeoNix avatar SuRGeoNix commented on June 11, 2024

I will review this in the weekend

from flyleaf.

t3therdev avatar t3therdev commented on June 11, 2024

hi @SuRGeoNix were you able to take a look into this?

from flyleaf.

SuRGeoNix avatar SuRGeoNix commented on June 11, 2024

@dev991301 does this happen with trace log off? I cannot reproduce it so far (can you use the release's ffmpeg libraries?)

image

from flyleaf.

dev991301 avatar dev991301 commented on June 11, 2024

@dev991301 does this happen with trace log off? I cannot reproduce it so far (can you use the release's ffmpeg libraries?)

@SuRGeoNix It does seem to happen with trace off. I am using the FFmpeg libraries that come from the Flyleaf 3.7.16 release. It also doesn't seem to matter if video acceleration is enabled or disabled.

ReleaseHandleLeakGraph_TraceOff_VA

In the Github code I submitted, would you be able to uncomment the other players in MainWindow.xaml and see what the handle count trend looks like?

MainWindow_xaml

from flyleaf.

SuRGeoNix avatar SuRGeoNix commented on June 11, 2024

Here my results with 9 players:-

(Stable RAM/VRAM/GPU usage/Handles)

image

with Video Acceleration off

image

from flyleaf.

t3therdev avatar t3therdev commented on June 11, 2024

@SuRGeoNix did you leave it running for a long period of time?

from flyleaf.

SuRGeoNix avatar SuRGeoNix commented on June 11, 2024

@t3therdev about 30'

from flyleaf.

SuRGeoNix avatar SuRGeoNix commented on June 11, 2024

Guys, any news with this one? I couldn't reproduce it also in systems with different GPUs.

from flyleaf.

dev991301 avatar dev991301 commented on June 11, 2024

I think the handle growth on my machines may be related to the version of the integrated Intel graphics drivers I am using. Running with an old version of a graphics driver the handles didn't grow (version 27.20.100.9079 which came from HP) but when upgraded to a newer Intel driver it did grow (version 31.0.101.5382). It also grew on a machine running Intel UHD graphics around version 31.0.x.x vintage. But it didn't grow when running off the NVIDIA graphics.

from flyleaf.

SuRGeoNix avatar SuRGeoNix commented on June 11, 2024

Everything points to GPU / drivers so I'm not sure if there is anything left from Flyleaf side to fix. I had different issues with RX 580 and had to use older drivers to make it work properly. So I'm afraid I will close this as is not related to the library.

from flyleaf.

SuRGeoNix avatar SuRGeoNix commented on June 11, 2024

Possible related WPF issue here dotnet/wpf/issues/7704

It would be interested to see if the problematic GPU/drivers having the same issue with WinForms.

Update: Seems that Config.Decoder.ZeroCopy = FlyleafLib.ZeroCopy.Enabled; could be a workaround.

from flyleaf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.