comic-dl
comic-dl copied to clipboard
Memory Leak?
Hi there,
I'm using the docker image ghcr.io/xonshiz/comic-dl:latest and when using it to grab more than one chapter at a time the memory usage keeps increasing until the host machine either runs out of memory and crashes or it exits. I set a 2000 MB limit on the container now using the --memory flag but that is reached after about half an hour.
Here's the docker command:
docker run -d --name comic-dl --memory=2000m -v /c/Users/Username/ComicDL:/directory:rw -w /directory ghcr.io/xonshiz/comic-dl:latest_linux_amd64 comic_dl -dd /directory --auto
and here's the config.json I'm using:
{
"download_directory": "comics",
"sorting_order": "ascending",
"conversion": "cbz",
"keep": "False",
"cookie": "None",
"image_quality": "Best",
"comics": {
"https://fanfox.net/manga/peerless_dad/": {
"url": "https://fanfox.net/manga/peerless_dad/",
"next": 1,
"last": "None",
"username": "None",
"password": "None",
"comic_language": "0"
}
}
I had to add the "cookie":"None", in there myself or it would refuse to run at all.
Thanks for the help, even with the memory leak I am slowly but steadily getting things done.
EDIT: Added a screenshot