JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 22.11.2021, 02:35
Maelcum Maelcum is offline
JD VIP
 
Join Date: Nov 2014
Posts: 306
Default Memory consumption

Hi,

It looks like jDownloader's memory consumption is constantly increasing while running. A simple restart will dramatically decrease the memory usage without altering anything.

Before: 1.35 GB
After: 460 MB

Now, I don't know Java, but it really looks like some sort of memory leak to me...

Edit:
macOS, Big Sure

Thanks in advance,
M

Last edited by Maelcum; 23.11.2021 at 07:09.
Reply With Quote
  #2  
Old 22.11.2021, 21:27
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 59,687
Default

How many items are in your downloadlist?
__________________
JD Supporter, Plugin Dev. & Community Manager
JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist
Reply With Quote
  #3  
Old 23.11.2021, 07:09
Maelcum Maelcum is offline
JD VIP
 
Join Date: Nov 2014
Posts: 306
Default

In the linkgrabber tab I have 32 packages with 98 links visible.
If I turn on the hidden (disabled hosts) links, I have 320 packages with 477 links.

Cheers,
M
Reply With Quote
  #4  
Old 23.11.2021, 16:36
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 59,687
Default

Okay this is not a high number of items so we can at least exclude this as the cause of your issue.
EDIT

Please post a screenshot of your about dialog (Help -> About JDownloader)
__________________
JD Supporter, Plugin Dev. & Community Manager
JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist

Last edited by pspzockerscene; 23.11.2021 at 16:56.
Reply With Quote
  #5  
Old 23.11.2021, 23:26
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,390
Default

OP responded just about linkgrabber, so we assume no links in download tab?
memory can increase depending on ssl connections and respective bit rates.
also the amount of total connections max con * max chunks,
also crawling link can contribute as this can hold a lot of information in memory before adding links.
Javas garbage collection should reduce un-used memory back once no longer used.
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #6  
Old 25.11.2021, 06:21
Maelcum Maelcum is offline
JD VIP
 
Join Date: Nov 2014
Posts: 306
Default

There's currently 3 links in the Downloads.
No active downloads, no crawling, yet its memory usage already climbed up to 1006.3 MB in 2 days, more than double of the startup memory consumption.

And I actually have less packages (297/443) in the linkgrabber compared to what I had when reporting the issue.

Cheers,
M
Reply With Quote
  #7  
Old 25.11.2021, 16:59
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 59,687
Default

Quote:
Originally Posted by pspzockerscene View Post
Please post a screenshot of your about dialog (Help -> About JDownloader)
Please provide this screenshot.

-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist

Last edited by pspzockerscene; 01.12.2021 at 19:13. Reason: Fixed my own quote
Reply With Quote
  #8  
Old 25.11.2021, 22:23
Maelcum Maelcum is offline
JD VIP
 
Join Date: Nov 2014
Posts: 306
Default

Hi,

before restart: **External links are only visible to Support Staff****External links are only visible to Support Staff**
after restart: **External links are only visible to Support Staff****External links are only visible to Support Staff**

This displays much lower memory consumption than Activity Monitor (which is 474 MB at the moment).

Cheers,
M
Reply With Quote
  #9  
Old 01.12.2021, 13:33
kov_123 kov_123 is offline
Linkgrabbing Monster
 
Join Date: Sep 2014
Posts: 89
Default

what about 100K links, how it can be resolved??
my JD2 is hanging, how can I reduce this links, or exorpt some of them to another portable JD2
Reply With Quote
  #10  
Old 01.12.2021, 19:14
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 59,687
Default

@kov_123
Please post a screenshot of your about dialog (Help -> About JDownloader)

@Maelcum
Please wait for Jiaz to find time to provide feedback.

-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist
Reply With Quote
  #11  
Old 01.12.2021, 20:05
kov_123 kov_123 is offline
Linkgrabbing Monster
 
Join Date: Sep 2014
Posts: 89
Default

freezing like this for hours & hours
can I get the saved links to anywhere else??
Untitled.png

I cannot get in the menu or press any button
Reply With Quote
  #12  
Old 02.12.2021, 00:31
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 59,687
Default

Quote:
Originally Posted by kov_123 View Post
can I get the saved links to anywhere else??
Sure.
See:
https://support.jdownloader.org/Know...-configuration
or linklist (linkgrabber/downloadlist) specifically:
https://support.jdownloader.org/Know...nkgrabber-list

Quote:
Originally Posted by kov_123 View Post
I cannot get in the menu or press any button
Does it work fine with a fresh config?
Most likely your JSV is running out of memory. Your linklist is big so a lot of RAM might be needed.
You can try to update your JVM parameters as described here:
https://support.jdownloader.org/Know...vmoptions-file
--> Try "-Xmx4g" or more

-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist
Reply With Quote
  #13  
Old 02.12.2021, 06:19
kov_123 kov_123 is offline
Linkgrabbing Monster
 
Join Date: Sep 2014
Posts: 89
Default

yes, the memory used is high
yes, fresh install is working fine
Reply With Quote
  #14  
Old 02.12.2021, 08:33
kov_123 kov_123 is offline
Linkgrabbing Monster
 
Join Date: Sep 2014
Posts: 89
Default

Nice,
It is back again after updating JVM parameters

increasing the max. memory to 8GB

my question is: what is the upper limit of the max. memory??
Reply With Quote
  #15  
Old 02.12.2021, 16:49
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 59,687
Default

Quote:
Originally Posted by kov_123 View Post
yes, the memory used is high
Now that you can start JD again:
Please post a screenshot of your about dialog (Help -> About JDownloader)

-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist
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:23.
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 - 2021, Jelsoft Enterprises Ltd.