View Single Post
  #1  
Old 22.09.2021, 04:05
spectre64 spectre64 is offline
Baby Loader
 
Join Date: Sep 2021
Posts: 9
Default Possible memory leak in HCaptcha handling

Hi, wondering if you are aware of any memory leaks in HCaptcha handling? I'm currently bisecting the problem.

JDownloader 2 (Build: Fri Sep 17 15:19:08 CEST 2021)
Java 1.8.0_282(64bit) Windows 10

Have premium filejoker, and some credits on imagetyperz

I have a heap dump (hprof) file, not sure how to securely share that. Here's a screenshot of some of them expanded where I suspect the leak is: https://imgur.com/a/dFXSRft (this was from Java 11 I believe)

I've set the heap as big as 16gb and leaks about 2gb/hour (post GC) and eventually will run out of memory / slow to a crawl.

~1000 links in downloads

Next, I downgraded to Java 8 (via the provided JDownloader packages), no change.

Next, I disabled all captcha handling and the problem went away.
Next, I enabled imagetyperz [no leaks]
Next, I enabled Dialog(window) in JDownloader, Dialog(window) in Browser [no leeks]

Previously, I believe i also had JAntiCatpcha and 9kw.eu enabled.

Will continue my investigation, but for now letting my downloads run for a bit...
Reply With Quote