JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #581  
Old 09.08.2016, 15:19
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 65,429
Default

Quote:
Originally Posted by djmakinera View Post
The number of links / packages are automatically removed when the download is complete, so the heap/memory should release ??? But on the contrary does not release! Why ?;)
To find that out we need to do a teamviewer session and analyse a heapdump!
__________________
JD-Dev & Server-Admin
Reply With Quote
  #582  
Old 09.08.2016, 15:32
djmakinera djmakinera is offline
JD Legend
 
Join Date: May 2010
Location: Poland
Posts: 8,292
Default

Maybe it caches thumbnails in the memory by downloading only the images?
How to disable caching?
can not reproduce the issue by TeamViewer, only in real-time while long-time downloading memory usage is high.
Reply With Quote
  #583  
Old 09.08.2016, 15:36
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 65,429
Default

JDownloader does not create any thumbs or uses any caches.
I'm doing some tests now. Still could not reproduce the issue.
When you encounter this again, lets do Teamviewer and create a heap dump with jvisualvm, we can open it later and analyse it
__________________
JD-Dev & Server-Admin
Reply With Quote
  #584  
Old 09.08.2016, 15:44
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 65,429
Default

Does this happen during Download or does memory even stay high when you stop the downloads?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #585  
Old 09.08.2016, 15:48
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 65,429
Default

Found one memleak, will fix it
__________________
JD-Dev & Server-Admin
Reply With Quote
  #586  
Old 09.08.2016, 16:12
djmakinera djmakinera is offline
JD Legend
 
Join Date: May 2010
Location: Poland
Posts: 8,292
Default

Strange chars: and Internal exceptions


Deoptimization events (10 events):
Event: 361.509 Thread 0x0000000028477000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x0000000003ab469c method=com.fasterxml.jackson.databind.deser.std.UntypedObjectDeserializer$Vanilla.deserialize(Lcom/fasterxml/jackson/core/JsonParser;Lcom/fasterxml/jackson/databind/Deserializatİ@¬¶%˜v@
Event: 361.509 Thread 0x0000000028477000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x0000000003ea3eb4 method=com.fasterxml.jackson.databind.deser.std.UntypedObjectDeserializer$Vanilla.mapObject(Lcom/fasterxml/jackson/core/JsonParser;Lcom/fasterxml/jackson/databind/Deserializatio
Event: 361.510 Thread 0x0000000028477000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x0000000003ab4688 method=com.fasterxml.jackson.databind.deser.std.UntypedObjectDeserializer$Vanilla.deserialize(Lcom/fasterxml/jackson/core/JsonParser;Lcom/fasterxml/jackson/databind/Deserializat£Â{_'˜v@
Event: 361.510 Thread 0x0000000028477000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x0000000003ab4688 method=com.fasterxml.jackson.databind.deser.std.UntypedObjectDeserializer$Vanilla.deserialize(Lcom/fasterxml/jackson/core/JsonParser;Lcom/fasterxml/jackson/databind/Deserializatøl¾'˜v@
Event: 361.510 Thread 0x0000000028477000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x0000000003ea3eb4 method=com.fasterxml.jackson.databind.deser.std.UntypedObjectDeserializer$Vanilla.mapObject(Lcom/fasterxml/jackson/core/JsonParser;Lcom/fasterxml/jackson/databind/Deserializatio“v@
Event: 361.510 Thread 0x0000000028477000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x0000000003ea3eb4 method=com.fasterxml.jackson.databind.deser.std.UntypedObjectDeserializer$Vanilla.mapObject(Lcom/fasterxml/jackson/core/JsonParser;Lcom/fasterxml/jackson/databind/Deserializatio*â€**e(˜v@
Event: 361.510 Thread 0x0000000028477000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x0000000003ea3eb4 method=com.fasterxml.jackson.databind.deser.std.UntypedObjectDeserializer$Vanilla.mapObject(Lcom/fasterxml/jackson/core/JsonParser;Lcom/fasterxml/jackson/databind/DeserializatiofÃu
(˜v@
Event: 361.510 Thread 0x0000000028474000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x0000000003ea3eb4 method=com.fasterxml.jackson.databind.deser.std.UntypedObjectDeserializer$Vanilla.mapObject(Lcom/fasterxml/jackson/core/JsonParser;Lcom/fasterxml/jackson/databind/Deserializatioî
!ÖK˜v@
Event: 361.519 Thread 0x0000000028475800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000000003b87500 method=com.fasterxml.jackson.core.json.ReaderBasedJsonParser._decodeEscaped()C @ 8
Event: 361.530 Thread 0x0000000028475800 Uncommon trap: reason=uninitialized action=reinterpret pc=0x000000000323d994 method=jd.plugins.DownloadLink.getDownloadCurrent()J @ 21

Internal exceptions (10 events):
Event: 361.667 Thread 0x000000002bee3000 Exception <a 'java/io/IOException'> (0x0000000545700878) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u102\7268\hotspot\src\share\vm\prims\jni.cpp, line 709]
Event: 361.667 Thread 0x000000002bee3000 Exception <a 'java/io/IOException'> (0x0000000545700b30) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u102\7268\hotspot\src\share\vm\prims\jni.cpp, line 709]
Event: 361.684 Thread 0x000000002bee3000 Exception <a 'java/io/IOException'> (0x00000005458a26b0) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u102\7268\hotspot\src\share\vm\prims\jni.cpp, line 709]
Event: 361.684 Thread 0x000000002bee3000 Exception <a 'java/io/IOException'> (0x00000005458a2968) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u102\7268\hotspot\src\share\vm\prims\jni.cpp, line 709]
Event: 361.688 Thread 0x000000002bee3000 Exception <a 'java/io/IOException'> (0x00000005458f4718) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u102\7268\hotspot\src\share\vm\prims\jni.cpp, line 709]
Event: 361.688 Thread 0x000000002bee3000 Exception <a 'java/io/IOException'> (0x00000005458f49d0) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u102\7268\hotspot\src\share\vm\prims\jni.cpp, line 709]
Event: 361.689 Thread 0x000000002bee3000 Exception <a 'java/io/IOException'> (0x00000005458f5a60) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u102\7268\hotspot\src\share\vm\prims\jni.cpp, line 709]
Event: 361.689 Thread 0x000000002bee3000 Exception <a 'java/io/IOException'> (0x00000005458f5d18) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u102\7268\hotspot\src\share\vm\prims\jni.cpp, line 709]
Event: 361.689 Thread 0x000000002bee3000 Exception <a 'java/io/IOException'> (0x0000000545b1d038) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u102\7268\hotspot\src\share\vm\prims\jni.cpp, line 709]
Event: 361.689 Thread 0x000000002bee3000 Exception <a 'java/io/IOException'> (0x0000000545b1d2f0) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u102\7268\hotspot\src\share\vm\prims\jni.cpp, line 709]
Reply With Quote
  #587  
Old 09.08.2016, 16:27
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 65,429
Default

Nothing to do with JDownloader.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #588  
Old 09.08.2016, 16:40
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 65,429
Default

Please test again with next core update
In case you still suffer from memleak, the easiest way is to do teamviewer and we check with jvisualvm
__________________
JD-Dev & Server-Admin
Reply With Quote
  #589  
Old 09.08.2016, 19:58
djmakinera djmakinera is offline
JD Legend
 
Join Date: May 2010
Location: Poland
Posts: 8,292
Default

Jiaz - Jaz how to adjust to javaw.exe used only C:pagefile.sys (only fast disk SOLID STATE DRIVE - Eliminate temporary no response JDownloader 2)
and avoid error in the allocation of heap (Multiple physical disks)

SSD X: pagefile 1 javaw.exe
HDD X: pagefile 2 other applications for the needs of biggest use PAGEFILE 20-50 GB !
Reply With Quote
  #590  
Old 10.08.2016, 04:24
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 16,195
Default

Quote:
Originally Posted by djmakinera View Post
Jiaz - Jaz how to adjust to javaw.exe used only C:pagefile.sys (only fast disk SOLID STATE DRIVE - Eliminate temporary no response JDownloader 2)
and avoid error in the allocation of heap (Multiple physical disks)

SSD X: pagefile 1 javaw.exe
HDD X: pagefile 2 other applications for the needs of biggest use PAGEFILE 20-50 GB !

operating system has total control over 'swap/page' file, applications have ZERO control.

general rule with swap files is to have same size as ram, 1:1 ratio. eg. 8gb ram, 8gb swap. You can have more but it wont make it 'faster' as swapping from ram to hdd/ssd is generally slow compared to just having more ram. You can increase swap file ratio out to 1:3 but normally not required.

I see no need for 20-50gb swap file, that's rediculious.
Please get yourself informed... google is your friend! top search result _https://support.microsoft.com/en-au/kb/2860880

raztoki
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]

Last edited by raztoki; 10.08.2016 at 12:22.
Reply With Quote
  #591  
Old 10.08.2016, 07:34
djmakinera djmakinera is offline
JD Legend
 
Join Date: May 2010
Location: Poland
Posts: 8,292
Default

raztoki - You do not know how to set the page java for the SSD so I suggest GOOGLE - I still do not understand the complicated settings and edit the registry !!!



Quote:
Originally Posted by raztoki View Post
I see no need for 20-50gb swap file, that's rediculious.
You're wrong !!!

Developer Emeditor:
Quote:
You should be able to search or copy very large files.

Do you have enough available memory in the system temporary folder, you can check the folder in the Advanced tab of the Customize dialog box, and you will see the available memory size in the Large File Controller.
EmEditor also requires a lot of memory stronicownaia operations, "UNDO" !!!

UltraSearch requires 40 GB (!!!) of RAM, so I have to Increase the memory in the paging because they do not have enough RAM !!

Powerful graphics applications also require a lot of pagefile !!!

It is recommended to use a large paging file for many "heavy operation" or Out of Memory "Fatal System Error: 0x00000093" Error Message

Reply With Quote
  #592  
Old 10.08.2016, 12:15
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 65,429
Default

Pagefiles larger than your memory size makes no sense...But we let you in believe this is a great idea
__________________
JD-Dev & Server-Admin
Reply With Quote
  #593  
Old 10.08.2016, 12:17
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 65,429
Default

A pagefiles does not replace memory When an application requires 32GB of RAM, you will not be happy/work at all when you have 24GB of RAM and enough pagefile. But we have learned that you will ignore us so there is nothing to do here.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #594  
Old 10.08.2016, 12:18
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 65,429
Default

Quote:
Originally Posted by djmakinera View Post
UltraSearch requires 40 GB (!!!) of RAM, so I have to Increase the memory in the paging because they do not have enough RAM !!
Well, then its no good application The only reason a texteditor would really require that much memory when you search for 40gb string There is no reason for a texteditor to keep complete file in memory...
__________________
JD-Dev & Server-Admin
Reply With Quote
  #595  
Old 10.08.2016, 12:24
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 16,195
Default

I'm not wrong, neither is Microsoft. But of course dj knows everything/best!
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #596  
Old 10.08.2016, 12:28
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 65,429
Default

Do you have enough available memory in the system temporary folder,
-> he speaks about temp folder and NOT pagefile
__________________
JD-Dev & Server-Admin
Reply With Quote
  #597  
Old 06.10.2016, 10:46
djmakinera djmakinera is offline
JD Legend
 
Join Date: May 2010
Location: Poland
Posts: 8,292
Default Preventing "JAVA: Stack Overflow" | Dynamic Heap Size

Preventing "JAVA: Stack Overflow"
How to Set Dynamic Heap Size?
Reply With Quote
  #598  
Old 06.10.2016, 10:59
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 65,429
Default

Stack Overflow has nothing to do with heap!
How about provide logs?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #599  
Old 06.10.2016, 11:17
djmakinera djmakinera is offline
JD Legend
 
Join Date: May 2010
Location: Poland
Posts: 8,292
Default

Example:
Set -Xmx 5GB
If Heap exceeds the limit of 5GB is JDownloader crash and shows an error Stack Overflow
Reply With Quote
  #600  
Old 06.10.2016, 11:22
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 65,429
Default

Heap cannot exceed the limit You will get a Out-of-Memory
Stack Overflow is complete different type of error. Again no logs!
__________________
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 21:01.
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.