Thread: [User feedback required] high CPU load in JD2
View Single Post
Old 21.07.2020, 16:58
woswasi woswasi is offline
Linkgrabbing Monster
Join Date: Mar 2012
Posts: 89
Default high CPU load in JD2

in reference to this thread:

when JD2 is not able to download files, it causes extreme CPU load while iterating through the list of queued files. on my laptop, the CPU fan runs at full speed.

how to reproduce:

- add a lot of files to the download queue
- make sure that JD2 can't access the download directory
(i.e. make it a symlink to a non-existing directory or remove permissions for the JD user)
- start downloads
- check CPU load

another way, but not easy to reproduce:
- add a lot of files from hoster X
- start downloads
- if hoster X denies downloading of each file (i.e. limit reached, file not found, waiting period), the CPU load goes to max.

I usually don't notice it on the fanless desktop, but it is annoying on the laptop.

Fedora 30 Linux
openjdk version "1.8.0_252"
OpenJDK Runtime Environment (build 1.8.0_252-b09)
OpenJDK 64-Bit Server VM (build 25.252-b09, mixed mode)

Reply With Quote