|
#1
|
|||
|
|||
Memory Usage
I recenly using jDownloader for a long time... I opened my computer 24/7 and using jDownloader...
I accidentally focus on jDownloader memory usage. The memory usage of jDownloader keep increasing and never flush out. Should developer see about this? |
#2
|
|||
|
|||
There already are some threads that refer to your topic:
http://board.jdownloader.org/showthread.php?t=4117 Developers know about it and will try to fix it. |
#3
|
|||
|
|||
Quote:
|
#4
|
||||
|
||||
what os? what java? how many chunks and downloads?
how many ram? java cannot free its used heap!
__________________
JD-Dev & Server-Admin |
#5
|
|||
|
|||
Quote:
Java Standard Edition with Update 13 One Chunk, 2 Downloads 4GB of system memory |
#6
|
||||
|
||||
java 32 or 64bit
it seems that every 64bit windows has some problems with java, because users that have mem problems always have 64bit os too try to change between 32 and 64bit java (deinstall the one and install the other) and see if it helps
__________________
JD-Dev & Server-Admin |
#7
|
||||
|
||||
Right now, my Private Bytes for JD is over 550MB in Process Explorer. I have seen it at 630MB.
I have reported having memory problems before (various versions of JD Pinky, Brain, Nightlies). I have now uninstalled all of my antivirus and firewall software (I have a good in-coming firewall in the DSL router). I have spybot, but the "real-time" parts are not functional and the innoculation is removed. I have also removed as much of the Microsoft SDK as I can, cigwin, and an assortment of other software. I have cleaned the registry and the Winsock stack. The paging file is not thrashing (4-5 real paging file reads/second), so it seem like it is not the Java heap. I can try using HeapWalk, memory monitor, and Object Manager monitor to see where the memory is going. I am not sure if this is worthwhile. Can you suggest anything? I think I may have to reinstall the OS and add things back one at a time. I will keep XP Home OEM SP3 (NT version 5.1) instead of changing to Vista (NT version 6) or NT version 7. JD version -Nightly- 0.9.876 on Java 16u17 (32 bit). Max Dls. usually set to 6, because I tend to have connections waiting for slots. Maximum 1 connection per DL. Windows XP SP3 with all applicable updates, including IE8 and MS Office 2007. I use JD from FireFox 3.5.5. My computer is a 2002 HP Pentium 4 (2 GHz) with 1 GB of memory. My video card is an ATI Radion 8500 with TV functionality turned off. Also running uTorrent and Perfectdisk (all concurrent). uTorrent is throttled to 20KB/s download speed. uTorrent and Perfectdisk run at a lower priority than JD. JD is currently running with no active connections (I am about to restart it to get the log turned on). There appears to be a very slow increase in Private bytes (100K/hour), even though I have no connections. |
#8
|
|||
|
|||
I'm running XP SP3 with a very small memory and jD currently uses around 30 MB/ Max.Con. = 2 and 2 simultaneous downloads.
Azureus and my browser currently use 80 and 90 MB respectively, but they're doing a lot more. I use Sygate Personal Firewall and I've never had any complaints about it. |
#9
|
||||
|
||||
Quote:
currently there are no known memleaks in jd, all new reports were caused by firewall/antivirus/win7 64bit. + we are always improving jd memory/cpu usage @remi: thats a really good value my jd needs around 150mb under linux
__________________
JD-Dev & Server-Admin |
#10
|
|||
|
|||
Yes, I'm amazed by the amount of memory some people need to run jD.
I think the small memory of my PC forces the Java garbage collector to do its work. At the moment my jD is using 15 MB with one download. I suppose the more memory you buy, the more Java/Windoze will use. |
#11
|
||||
|
||||
thats correct behaviour. i dont need an os that only use 10% of my memory. memory should always be used at 90-100%. (apps, caches, buffers and so on)
__________________
JD-Dev & Server-Admin |
#12
|
||||
|
||||
Is the log in memory, not a file with a scroll window? In my last message in this thread, logging was NONE in Settings->Basic.
Is the Link List in memory, not in the database and read as needed? If the Link List is in memory, that can explain most of my memory problems. Java should use more memory on computers with more memory, but not 2/3 of memory. I see log entries about memory errors if I change the -XMx option to -Xmx384m, but -Xmx468m seems to work fine. |
#13
|
||||
|
||||
Quote:
__________________
JD-Dev & Server-Admin |
#14
|
|||
|
|||
I think it's kept in memory, but it doesn't make much sense to have too many (thousands) links in your queue, because the corresponding files can go off-line. You can of course check them again but that means more manual work.
|
#15
|
||||
|
||||
once the downloadhistory is done, this is no problem because the links will be saved in database and only move to memory when accessed.
__________________
JD-Dev & Server-Admin |
#16
|
|||
|
|||
hello. i had same leakage issue ,running win7 32bit. after about 12 hours i was running out of memory (bsod) .my problem was COMODO firewall since i uninstall it my leak is gone! running over 5 hours,several downloads and no increase in memory usage.
i also have a question, why after a close JD javaw.exe is still running? Last edited by kozimus; 11.02.2010 at 11:13. |
#17
|
|||
|
|||
Problem fixed!!!
Hi all,
The memory problem of JDownloader + Win7 + Nod32 or other AV / Firewall is fixed if you install this patch: support.microsoft.com/kb/979223 It was a windows memory leak. I tested it and the problem is removed!!! Enjoy, Stephane |
#18
|
||||
|
||||
Thank you Hoblingr. I am spreading the word.
Last edited by drbits; 13.02.2010 at 06:35. |
Thread Tools | |
Display Modes | |
|
|