JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 09.04.2019, 21:13
djmakinera djmakinera is offline
JD Legend
 
Join Date: May 2010
Location: Poland
Posts: 8,338
Default Why JD2 consumes 25% of the CPU all the time

Why JD2 consumes 25% of the CPU all the time without ceasing.

09.04.19 20.06.03 <--> 09.04.19 20.13.24 jdlog://3219776935451/

**External links are only visible to Support Staff****External links are only visible to Support Staff**
Reply With Quote
  #2  
Old 10.04.2019, 10:55
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 66,134
Default

It seems you have a complex/slow pattern in search field in Downloadlist and JD has to check it on every (automatic) refresh
__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 10.04.2019, 12:28
traverjg traverjg is offline
Super Loader
 
Join Date: Jul 2017
Posts: 25
Default

I've noticed JD2 taking up a lot of RAM myself. What do you mean by "complex/slow pattern in search field"? I'd like to see if I have something similar that I could change to reduce the amount of resources it uses.
Reply With Quote
  #4  
Old 10.04.2019, 12:32
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 66,134
Default

@traverjg: djmakinera has put a complex regex into search field that's causing the cpu usage on every refresh of the download list.

Memory usage scales with number of links in list. The more links, the more memory JDownloader requires. By default Java is allowed to use max x% of system memory. You can check memory stats in about dialog of JDownloader.

There is no general rule of thumb where cpu usage comes from. Can be from limited/not enough heap memory and java spending all time with memory management. Can be crawling/collecing plugins....
__________________
JD-Dev & Server-Admin
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 14:57.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.