Comments (3)
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.
Can you please check if the most recent version fixes your problem?
from twitch-clip-downloader.
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)
- Does this skip already downloaded Clips? HOT 2
- API change broke app HOT 5
- Download VODs, highlights and uploads HOT 3
- Control Twitch API requests with rate-limit headers HOT 1
- Cache requests from older periods HOT 1
- Add GitHub Actions tests HOT 1
- Update README HOT 1
- Store VOD chat HOT 1
- TypeScript update completely broke it
- youtube-dl binaries are not found on a fresh install HOT 1
- Add Python dependency to README HOT 1
- Automatically download youtube-dl binaries HOT 1
- Clean .ts files after transcode
- Unhandled YoutubeDL error forcing application to break HOT 1
- Compress cache HOT 1
- Default Export not found in Clip-Url-Fetcher.ts HOT 1
- Output to file list HOT 7
- Error downloading HOT 4
- Downloading personal clips HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from twitch-clip-downloader.