JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #21  
Old 06.02.2020, 23:36
Fetter Biff Fetter Biff is offline
JD Legend
 
Join Date: Oct 2014
Posts: 945
Default

Quote:
Die Software ist darauf in der Regel nicht ausgelegt und obige Tipps bzgl. RAM/Ressourcen sollten beachtet werden.
Ja, ja, wenn ich den Speicher / die Ressourcen zur Verfügung hätte, würde ich...habe leider nur 8 GB.

Quote:
Welche Fehlermeldungen?
Die sind nicht durch eine dlc-Datei entstanden, sondern durch eine aufgeteilte downloadListxxxxxx.zip.backup-Datei. Diese und noch andere Fehlermeldungen (unter anderem irgendetwas mit "Java heap" oder so), von denen ich gerade keine Bildschirmfotos habe:





Code:
java.lang.OutOfMemoryError: GC overhead limit exceeded
Code:
net.sourceforge.htmlunit.corejs.javascript.WrappedException: Wrapped org.jdownloader.extensions.eventscripter.EnvironmentException: Line 8
java.lang.OutOfMemoryError: Java heap space
	at java.util.Arrays.copyOf(Unknown Source)
	at java.io.ByteArrayOutputStream.grow(Unknown Source)
	at java.io.ByteArrayOutputStream.ensureCapacity(Unknown Source)
	at java.io.ByteArrayOutputStream.write(Unknown Source)
	at org.appwork.utils.IO.readStreamToOutputStream(IO.java:504)
	at org.appwork.utils.IO.readStream(IO.java:479)
	at org.appwork.utils.IO.readStream(IO.java:475)
	at org.appwork.utils.IO.readStream(IO.java:470)
	at org.appwork.utils.IO.readFile(IO.java:383)
	at org.appwork.utils.IO.importFileToString(IO.java:301)
	at org.appwork.utils.IO.readFileToString(IO.java:393)
	at org.jdownloader.extensions.eventscripter.sandboxobjects.ScriptEnvironment.readFile(ScriptEnvironment.java:880)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at net.sourceforge.htmlunit.corejs.javascript.MemberBox.invoke(MemberBox.java:120)
	at net.sourceforge.htmlunit.corejs.javascript.NativeJavaMethod.call(NativeJavaMethod.java:213)
	at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpretLoop(Interpreter.java:1531)
	at script(:8)
	at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpret(Interpreter.java:798)
	at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:105)
	at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.doTopCall(ContextFactory.java:411)
	at org.jdownloader.scripting.JSHtmlUnitPermissionRestricter$SandboxContextFactory.doTopCall(JSHtmlUnitPermissionRestricter.java:119)
	at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3057)
	at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.exec(InterpretedFunction.java:115)
	at net.sourceforge.htmlunit.corejs.javascript.Context.evaluateString(Context.java:1212)
	at org.jdownloader.extensions.eventscripter.ScriptThread.evalUNtrusted(ScriptThread.java:288)
	at org.jdownloader.extensions.eventscripter.ScriptThread.executeScipt(ScriptThread.java:180)
	at org.jdownloader.extensions.eventscripter.ScriptThread.run(ScriptThread.java:160)
 (#8)
	at net.sourceforge.htmlunit.corejs.javascript.Context.throwAsScriptRuntimeEx(Context.java:1907)
	at net.sourceforge.htmlunit.corejs.javascript.MemberBox.invoke(MemberBox.java:146)
	at net.sourceforge.htmlunit.corejs.javascript.NativeJavaMethod.call(NativeJavaMethod.java:213)
	at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpretLoop(Interpreter.java:1531)
	at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpret(Interpreter.java:798)
	at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:105)
	at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.doTopCall(ContextFactory.java:411)
	at org.jdownloader.scripting.JSHtmlUnitPermissionRestricter$SandboxContextFactory.doTopCall(JSHtmlUnitPermissionRestricter.java:119)
	at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3057)
	at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.exec(InterpretedFunction.java:115)
	at net.sourceforge.htmlunit.corejs.javascript.Context.evaluateString(Context.java:1212)
	at org.jdownloader.extensions.eventscripter.ScriptThread.evalUNtrusted(ScriptThread.java:288)
	at org.jdownloader.extensions.eventscripter.ScriptThread.executeScipt(ScriptThread.java:180)
	at org.jdownloader.extensions.eventscripter.ScriptThread.run(ScriptThread.java:160)
Caused by: org.jdownloader.extensions.eventscripter.EnvironmentException: Line 8
java.lang.OutOfMemoryError: Java heap space
	at java.util.Arrays.copyOf(Unknown Source)
	at java.io.ByteArrayOutputStream.grow(Unknown Source)
	at java.io.ByteArrayOutputStream.ensureCapacity(Unknown Source)
	at java.io.ByteArrayOutputStream.write(Unknown Source)
	at org.appwork.utils.IO.readStreamToOutputStream(IO.java:504)
	at org.appwork.utils.IO.readStream(IO.java:479)
	at org.appwork.utils.IO.readStream(IO.java:475)
	at org.appwork.utils.IO.readStream(IO.java:470)
	at org.appwork.utils.IO.readFile(IO.java:383)
	at org.appwork.utils.IO.importFileToString(IO.java:301)
	at org.appwork.utils.IO.readFileToString(IO.java:393)
	at org.jdownloader.extensions.eventscripter.sandboxobjects.ScriptEnvironment.readFile(ScriptEnvironment.java:880)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at net.sourceforge.htmlunit.corejs.javascript.MemberBox.invoke(MemberBox.java:120)
	at net.sourceforge.htmlunit.corejs.javascript.NativeJavaMethod.call(NativeJavaMethod.java:213)
	at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpretLoop(Interpreter.java:1531)
	at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpret(Interpreter.java:798)
	at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:105)
	at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.doTopCall(ContextFactory.java:411)
	at org.jdownloader.scripting.JSHtmlUnitPermissionRestricter$SandboxContextFactory.doTopCall(JSHtmlUnitPermissionRestricter.java:119)
	at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3057)
	at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.exec(InterpretedFunction.java:115)
	at net.sourceforge.htmlunit.corejs.javascript.Context.evaluateString(Context.java:1212)
	at org.jdownloader.extensions.eventscripter.ScriptThread.evalUNtrusted(ScriptThread.java:288)
	at org.jdownloader.extensions.eventscripter.ScriptThread.executeScipt(ScriptThread.java:180)
	at org.jdownloader.extensions.eventscripter.ScriptThread.run(ScriptThread.java:160)

	at org.jdownloader.extensions.eventscripter.sandboxobjects.ScriptEnvironment.readFile(ScriptEnvironment.java:886)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at net.sourceforge.htmlunit.corejs.javascript.MemberBox.invoke(MemberBox.java:120)
	... 12 more
Caused by: java.lang.OutOfMemoryError: Java heap space
	at java.util.Arrays.copyOf(Unknown Source)
	at java.io.ByteArrayOutputStream.grow(Unknown Source)
	at java.io.ByteArrayOutputStream.ensureCapacity(Unknown Source)
	at java.io.ByteArrayOutputStream.write(Unknown Source)
	at org.appwork.utils.IO.readStreamToOutputStream(IO.java:504)
	at org.appwork.utils.IO.readStream(IO.java:479)
	at org.appwork.utils.IO.readStream(IO.java:475)
	at org.appwork.utils.IO.readStream(IO.java:470)
	at org.appwork.utils.IO.readFile(IO.java:383)
	at org.appwork.utils.IO.importFileToString(IO.java:301)
	at org.appwork.utils.IO.readFileToString(IO.java:393)
	at org.jdownloader.extensions.eventscripter.sandboxobjects.ScriptEnvironment.readFile(ScriptEnvironment.java:880)
	... 17 more

Last edited by Fetter Biff; 06.02.2020 at 23:43.
Reply With Quote
  #22  
Old 06.02.2020, 23:43
thecoder2012's Avatar
thecoder2012 thecoder2012 is offline
Official 9kw.eu Support
 
Join Date: Feb 2013
Location: Internet
Posts: 1,279
Default

Quote:
Originally Posted by Fetter Biff View Post
Ja, ja, wenn ich den Speicher / die Ressourcen zur Verfügung hätte, würde ich...habe leider nur 8 GB.
Hast den Verbrauch beobachtet?

Code:
java.lang.OutOfMemoryError: GC overhead limit exceeded
Die Fehlermeldungen können auch nur darauf hindeuten das der Prozess nicht mehr nehmen konnte oder durfte. Selbst wenn das System noch genug Reserven hat. Darauf wurde ja bereits von mgpai in Englisch hingewiesen.

Quote:
Originally Posted by Fetter Biff View Post
Die sind nicht durch eine dlc-Datei entstanden, sondern durch eine aufgeteilte (die lassen sich doch aufteilen) downloadListxxxxxx.zip.backup-Datei.
Ich kann das leider nur mit einer Testdatei überprüfen. Ganz gleich ob das jetzt eine dlc-Datei, Liste oder irgendeine Backup-Datei ist. Auch ob es an JD, Ressourcen oder anderen Ursachen liegt.
__________________
Join 9kw.eu Captcha Service now and let your JD continue downloads while you sleep.
Reply With Quote
  #23  
Old 07.02.2020, 08:45
Fetter Biff Fetter Biff is offline
JD Legend
 
Join Date: Oct 2014
Posts: 945
Default

Quote:
Hast den Verbrauch beobachtet?
Der Arbeitsspeicher ist meistens zu ca. 70 bis 90 % ausgelastet. Jetzt mit JD noch mehr:




Quote:
Die Fehlermeldungen können auch nur darauf hindeuten das der Prozess nicht mehr nehmen konnte oder durfte. Selbst wenn das System noch genug Reserven hat. Darauf wurde ja bereits von mgpai in Englisch hingewiesen.
Genau. Aber dass da genug Reserven wären, würde ich eigentlich mit null Ahnung nicht denken, da der Speicher ja schon von vornherein stark ausgelastet scheint.

Quote:
Ich kann das leider nur mit einer Testdatei überprüfen. Ganz gleich ob das jetzt eine dlc-Datei, Liste oder irgendeine Backup-Datei ist. Auch ob es an JD, Ressourcen oder anderen Ursachen liegt.
Ja, natürlich, völlig verständlich. Vielen Dank!
Reply With Quote
  #24  
Old 07.02.2020, 09:23
thecoder2012's Avatar
thecoder2012 thecoder2012 is offline
Official 9kw.eu Support
 
Join Date: Feb 2013
Location: Internet
Posts: 1,279
Default

Quote:
Originally Posted by Fetter Biff View Post
Genau. Aber dass da genug Reserven wären, würde ich eigentlich mit null Ahnung nicht denken, da der Speicher ja schon von vornherein stark ausgelastet scheint.
Ca. 2,4 GB sind keine 8 GB. Ist der Rest von anderen Programmen bzw. System belegt?

Sonst evtl. mal schauen ob man nicht den Ram verdoppeln kann. So ein Ram Riegel ist meist nicht so teuer, wenn noch Platz auf dem Mainboard ist.

Wenn ich auch den Stromverbrauch "sehr hoch" ausgesprochen amüsant finde.
Quote:
Originally Posted by Fetter Biff View Post
Ja, natürlich, völlig verständlich.
Dir ist es vermutlich nicht möglich sowas zur Verfügung zu stellen?
Man kann Dir leider sonst schwer helfen.
__________________
Join 9kw.eu Captcha Service now and let your JD continue downloads while you sleep.
Reply With Quote
  #25  
Old 07.02.2020, 09:43
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 941
Default

@Fetter Biff : Check: Main Menu > Help > About JDownloader > Memory

If Allocated memory is equal to (or almost equal to) Max memory, you will need to provide additional memory to JD.

Related Post

You can reduce it again after you finish loading and exporting your dlc or large backup lists.
Reply With Quote
  #26  
Old 07.02.2020, 13:19
Fetter Biff Fetter Biff is offline
JD Legend
 
Join Date: Oct 2014
Posts: 945
Default

Ah, das Forum geht wieder.

Quote:
Ca. 2,4 GB sind keine 8 GB. Ist der Rest von anderen Programmen bzw. System belegt?
Ja, ja, von anderen Programmen, von Win / vom Betriebssystem belegt, würde ich vermuten.

Quote:
Wenn ich auch den Stromverbrauch "sehr hoch" ausgesprochen amüsant finde.
In wie fern?

Quote:
Dir ist es vermutlich nicht möglich sowas zur Verfügung zu stellen?
Hmmm, tja, muß mal sehen, ob das gehen könnte.

Quote:
If Allocated memory is equal to (or almost equal to) Max memory, you will need to provide additional memory to JD.
This is shown while JD is open without doing anything: Usage: 148.90 MB - Allocated: 237.00 MB - Max: 1.76 GB




This is shown while JD processes a dlc: Usage: 914.96 MB - Allocated: 1.60 GB - Max: 1.76 GB


This is shown while JD processes a dlc after some time after starting: Usage: 1.27 GB - Allocated: 1.75 GB - Max: 1.76 GB



After more processing: Usage: 1.30 GB - Allocated: 1.76 GB - Max: 1.76 GB


JD hardly responses now so I cannot access the RAM display.

Thank you for the link.

Quote:
You can reduce it again after you finish loading and exporting your dlc or large backup lists.
JD's use of RAM? How could I reduce it?

Obwohl ich das
Quote:
So deaktiviert man den Linkcheck:
Einstellungen --> Profieinstellungen --> LinkCollector: Do Link Check --> Häckchen raus und JD neustarten
deaktivert habe, wird aber der Status für online / offline angezeigt. Warum ist das so? Würde denken, diese Prüfung bleibt nun aus.
Reply With Quote
  #27  
Old 07.02.2020, 14:47
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 941
Default

Quote:
Originally Posted by Fetter Biff View Post
Usage: 1.30 GB - Allocated: 1.76 GB - Max: 1.76 GB
JD hardly responses now so I cannot access the RAM display.
This clears indicates JD does not have enough memory to perform the current tasks. You will need to increase it as per instructions provided by Jiaz, which can be find in one of my earlier replies. For optimum performance, the allocated memory should be less than max memory.

Quote:
Originally Posted by Fetter Biff View Post
JD's use of RAM? How could I reduce it?
Quote:
Originally Posted by mgpai View Post
You can reduce it again after you finish loading and exporting your dlc or large backup lists.
Meaning, you can reduce the allocated memory back to earlier levels after you have finished loading and exporting your links.

Loading large lists will require more memory. The memory currently allocated (1.76 GB) does not appear to be sufficient to load large lists. You may need to increase it to 4/6/8 GB etc., in order to load your dlc and backup lists.

Once you have finished loading and exporting then, you can change the allocated memory from e.g. 8 GB to back to 1.76 GB, since you will not be needing more than that during regular use.
Reply With Quote
  #28  
Old 07.02.2020, 15:30
Fetter Biff Fetter Biff is offline
JD Legend
 
Join Date: Oct 2014
Posts: 945
Default

Quote:
This clears indicates JD does not have enough memory to perform the current tasks. You will need to increase it as per instructions provided by Jiaz, which can be find in one of my earlier replies. For optimum performance, the allocated memory should be less than max memory.
OK, so that is the problem. Nothing else. After having had the issues with (error messages, etc.) the entire system does not run properly anymore, very slow, sluggish.

Quote:
Meaning, you can reduce the allocated memory back to earlier levels after you have finished loading and exporting your links.
Do you mean, I have to do anything to achieve that (if so, how) or does it happen automatically when JD will be closed (and if need be restarted)?

Quote:
Loading large lists will require more memory. The memory currently allocated (1.76 GB) does not appear to be sufficient to load large lists. You may need to increase it to 4/6/8 GB etc., in order to load your dlc and backup lists.
When I the first time (in this session, after the last start of the Notebook) tried to add the large dlc container JD didn't show an error message at all, I stopped the process when about 30.000 links where added to JD. The last times I tried the same, adding the large dlc, error messages occourred when about 5000 Links were added. Although the same amount of memory was available.

Quote:
Once you have finished loading and exporting then, you can change the allocated memory from e.g. 8 GB to back to 1.76 GB, since you will not be needing more than that during regular use.
Sorry, I do not understand how can I change the memory allocated?
Reply With Quote
  #29  
Old 07.02.2020, 16:01
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 941
Default

Quote:
Originally Posted by Fetter Biff View Post
I do not understand how can I change the memory allocated?
Follow instructions provided by Jiaz, which I have quoted in Post #7.
Reply With Quote
  #30  
Old 07.02.2020, 18:16
Fetter Biff Fetter Biff is offline
JD Legend
 
Join Date: Oct 2014
Posts: 945
Default

That way, yes, sorry, I thought that would not help anymore because the 8 GB RAM I havve are not sufficient. I will try it.

Thank you !
Reply With Quote
  #31  
Old 08.02.2020, 10:12
oEFLKQzikCqw oEFLKQzikCqw is offline
JD Legend
 
Join Date: Mar 2012
Posts: 1,591
Default

Java 8u40 ist ein bisschen alt
Reply With Quote
  #32  
Old 08.02.2020, 13:19
Fetter Biff Fetter Biff is offline
JD Legend
 
Join Date: Oct 2014
Posts: 945
Default

Quote:
Quote:
Originally Posted by Fetter Biff View Post
Wenn ich downloadList360044.zip JD über JD ziehe und fallenlasse, reagiert JD nach einiger Zeit gar nicht mehr, kann also auch nicht in dem sich zeigenden Fenster, der Meldung, "Link Grabber" einstellen oder die Datei sonstwie zufügen.
Quote:
Originally Posted by Jiaz View Post
For such a large list, it is very likely that your JDownloader goes out of memory and that's why it fails to load the list.
You should increase max memory in .vmoptions file.
Open it with texteditor and remove any -Xms line
and add a new line with -Xmx2g or -Xmx4g for 2 or 4gb memory.
500MB zip means 10k of 100k of links?!
Large list will require more memory to load. You may need to increase the allocated memory accordingly.
What characters do I have to use to comment out a line in that .vmoptions file. Is it a #?
Reply With Quote
  #33  
Old 08.02.2020, 14:25
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 941
Default

Quote:
Originally Posted by Fetter Biff View Post
What characters do I have to use to comment out a line in that .vmoptions file. Is it a #?
Yes.
Reply With Quote
  #34  
Old 08.02.2020, 15:36
Fetter Biff Fetter Biff is offline
JD Legend
 
Join Date: Oct 2014
Posts: 945
Default

Thank you!

Just want to add a description and other values for easier exchange / use.
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 09:11.
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 - 2020, Jelsoft Enterprises Ltd.