Giter VIP home page Giter VIP logo

Comments (9)

ropery avatar ropery commented on May 25, 2024 1

I can see that it quickly fills up all available memory for recordings longer than 15-20 seconds

See issue #2

from peek.

ropery avatar ropery commented on May 25, 2024

@phw perhaps consider capping convert resources, see this comment, for example.

from peek.

phw avatar phw commented on May 25, 2024

@lolilolicon Thanks for that, that could help. I cannot really reproduce the lagging here, but it could help :)

from peek.

lots0logs avatar lots0logs commented on May 25, 2024

I also experienced this. I'm using Arch. The severity of the issue depends on how much RAM is available on your system, the length of your recording, and how much activity you are recording (meaning how much of the screen has to be redrawn from one frame to the next because it changed). I have a memory monitor widget in my task bar and I can see that it quickly fills up all available memory for recordings longer than 15-20 seconds. The kernel then tries to flush whatever it can to swap but that doesnt prevent the system from stalling for a couple seconds. I think for a lower-end system it would stall for a lot longer (I have a core i7 with 12MB RAM). What sucks about the issue is that 2 out of 3 times you end up losing your recording because when the system stops lagging the file it saves is empty (0 bytes).

from peek.

lots0logs avatar lots0logs commented on May 25, 2024

@lolilolicon Yeah I can't believe I didn't realize that from the start!

homer-simpson-doh

from peek.

vangourd avatar vangourd commented on May 25, 2024

I'm on Elementary OS Loki with it's Ubuntu 16.04 base on an Intel NUC6I3SYK.

Peek actually locks up my system so badly I have to reboot (Cannot restart Xserver CTRL-ALT-BACKSPACE, cannot change to a terminal (CTRL + F1). I have to manage my memory well as this system doesn't have an abundance of it but I would love to see some better limits on how Peek uses resources. I'm assuming that's what is causing this problem for me.

I can't seem to find any relevant logs on the issue in my journal, or in my Xserver logs. I attempted your TMP directory change recommendation but it opened Peek and I was unable to record anything after the fact. I'm assuming that might be a permissions problem so I will attempt to troubleshoot that later but I wanted to get a comment written as this software is pretty important to me building docs.

Let me know if I can provide any more useful debugging info.

from peek.

lots0logs avatar lots0logs commented on May 25, 2024

@vangourd I started working on this in #37 but havent had time to finish it yet 😬

from peek.

dandv avatar dandv commented on May 25, 2024

I've just noticed huge memory and CPU use with a longer recording (~30 seconds):

image

Another time when I had less RAM available, my Ubuntu 16.04 locked up and I had to just wait for a few minutes.

from peek.

phw avatar phw commented on May 25, 2024

I think this should be fixed by fixing #2. Please reopen if this occurs even with the latest revision from git.

from peek.

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.