Menu

#143 Major memory leak

1.0
New
None
Critical
Linux
Unspecified
Defect
2016-10-13
2016-06-17
Cris Teix
No

Major memory leak whilst outputting video and audio to /dev/video1 and being used by skype, after around ~30 minutes, using the ffmpeg backend.

  1. Looking at memory filling up
  2. Eventually stops going down and reaches its maximum value
  3. Video slows down to a crawl, no longer real time
  4. If I don't immediately SIGTERM the program this slows down the whole operating system to a crawl and requires a hard reboot

Great UI overhaul though, fixed most of the gripes I had with it.

Related

Tickets: #143

Discussion

  • Cris Teix

    Cris Teix - 2016-06-23

    Disregard this.
    Anyway, I should add that ffmpeg version 2.8.7. Will try again with git master and report back with results.

     

    Last edit: Cris Teix 2016-07-07
  • Cris Teix

    Cris Teix - 2016-07-14

    Ok, so the reason why the system crashes is because I literally run out of memory AND swapping space.
    Webcam studio claims it's using 736MB/1760MB, but htop showed me 2GB at first and, after a few minutes running, it hit 5.5GB and would have kept climbing until my system ran out of memory.
    Hitting the RAM button (which I believe uses system.gc()?) did nothing.

     
  • Cris Teix

    Cris Teix - 2016-10-03

    Apparently this happens WITHOUT streaming as well. Just keeps growing while the program is doing nothing.

     

    Last edit: Cris Teix 2016-10-13
  • Cris Teix

    Cris Teix - 2016-10-13

    New update: I used it today and there were no memory leaks, much to my dismay. Then, after over 1 hour of streaming, out of curiosity, I hit the RAM button to invoke system.gc() and lou and behold, memory started leaking after one click on that button!

     
    • Soylent TV

      Soylent TV - 2016-10-15

      This issue seems to affect only the "WebcamStudio1.0Alpha FX" and not the
      normal version.

      Hi Cris,
      how about Java version? Oracle or OpenJDK + OpenFX?
      You can also remove all system.gc() that are present in the code (if I
      remember well the command is present in the "stopping stream" operation or
      something similar)

      Have a good weekend.
      karl.

      2016-10-13 19:23 GMT+02:00 Cris Teix powercosmic@users.sf.net:

      New update: I used it today and there were no memory leaks, much to my
      dismay. Then, after over 1 hour of streaming, out of curiosity, I hit the
      RAM button to invoke system.gc() and lou and behold, memory started leaking
      after one click on that button!


      Status: New
      Milestone: 1.0
      Created: Fri Jun 17, 2016 12:00 AM UTC by Cris Teix
      Last Updated: Mon Oct 03, 2016 12:55 AM UTC
      Owner: Soylent TV

      Major memory leak whilst outputting video and audio to /dev/video1 and
      being used by skype, after around ~30 minutes, using the ffmpeg backend.

      1. Looking at memory filling up
      2. Eventually stops going down and reaches its maximum value
      3. Video slows down to a crawl, no longer real time
      4. If I don't immediately SIGTERM the program this slows down the
        whole operating system to a crawl and requires a hard reboot

      Great UI overhaul though, fixed most of the gripes I had with it.

      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/webcamstudio/tickets/143/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Tickets: #143


Log in to post a comment.

MongoDB Logo MongoDB