Menu

Memory leak?

Help
Zopp
2014-12-09
2014-12-10
  • Zopp

    Zopp - 2014-12-09

    Hello.

    I used WpfSample as a core of application. I belive everything happens in PlayerCtrl class.

    I divided the dispatcher's invoke to 2 parts. First I get the copy the bitmap from buffer, between I do some calculations on bitmap, then I draw bitmap on WriteableBitmap.

    The problem is sometimes after 10-30 min of running (when my PC memory/processor usage is large) application crashes even though I set it up to log all the uncaught exceptions (nothing in logs).

    One important thing is it crashes on the older PC, where I don't have VS installed and because of that I don't know where it happens. I'm sure it must be something with the video player because when I turn off the video stream it works fine.

    Here's the code:
    InitPlayback (part of it, rest is the same): http://pastebin.com/CRK5Bzw2
    DrawFrame, GetFrame: http://pastebin.com/D8vZd1SD
    Restart (Called by NoSignalProcessor): http://pastebin.com/uTgSEUTr

    Thanks in advance

     
  • Andrey Vrana

    Andrey Vrana - 2014-12-10

    Please connect me in skype to resolve this issue/

     

Log in to post a comment.