Giter VIP home page Giter VIP logo

Comments (3)

HugoJF avatar HugoJF commented on July 20, 2024

Hmm, looking at the logs it seems like it's happening at around 200k clips, which is lower than what I could get from previous versions of this tool (afaik I managed to get 300k at some point with no issues).

I'm not sure if there are obvious memory hogs I could fix, but I'll play around so see what I can get done.

In the mean time, since you have plenty more RAM available, I suggest bumping the heap size while I work this out.

EDIT1: I've been attempting to reproduce this problem in my machine with Hasan's channel and realized that the period splitting logic is going crazy splitting a whole month into <3h periods. Since this is a recursive call I imagine alot of variables are being held in memory until the code finds a period small enough to get <500 clips.

EDIT2: Just noticed a giant mistake in the caching system. Instead of each period file storing clips found ONLY in that period, it saved every clip that was found at that moment. This caused the /cache directory to grow beyond 10GB. Because of this CPU usage was VERY high, memory usage was higher than usual (the main problem was elsewhere), and my SSD to be suffocated to death. A fix in being tested right now.

from twitch-clip-downloader.

HugoJF avatar HugoJF commented on July 20, 2024

Can you please check if the most recent version fixes your problem?

from twitch-clip-downloader.

camjac251 avatar camjac251 commented on July 20, 2024

Hey sorry for the delay. It works perfectly. Was able to find 433,304 clips and save to the meta file.

Thank you very much

from twitch-clip-downloader.

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.