JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 12.06.2011, 20:28
ice0625
Guest
 
Posts: n/a
Default database.script unable to update

First, sorry for my bad English, it's because my woman tongue is not English. If you are not able to understand my meaning, I can explain again.
I used jdownloader for a long time. So I have 6XXXX links in my database. Yesterday my win7 64bit hanged and jdownloader disappeared. Just have javaw.exe running only. Because i had the same experiences before, so i backup the database.script and database.properties. Then i uninstall jdownloader and install it again. After procedure finished, i copy the two files above to config florder. After i copied, jdownloader still cannot run. Then i use the windows_restore.bat. After restored, jdownloader can run again. But the strange thing happened, database.script cannot update and have a new file call database.script.new appeared. Another strange thing is the database.log is too big, size is 109,716KB.
Now the jdowloader can download, but the backup and clipboard functions are broken. I cannot power off my computer, it's because after I restarted, jdownloader back to the old database. I have already change windows_createlog.bat Xmx512m to Xmx1500m, run it. But nothing changed. Thank you for your helping...
Attached Files
File Type: rar JDownloader.rar (8.9 KB, 388 views)

Last edited by ice0625; 13.06.2011 at 06:32.
Reply With Quote
  #2  
Old 13.06.2011, 06:23
ice0625
Guest
 
Posts: n/a
Default

errlog.txt

------------------------ Thread: 10 -----------------------
10 2011/6/13 上午 11:19:15 - INFO [jd.Main(main)] -> Start JDownloader
10 2011/6/13 上午 11:19:15 - INFO [jd.Main(main)] -> DEBUG Modus aktiv
10 2011/6/13 上午 11:19:15 - FINEST [jd.utils.JDUtilities(getJDClassLoader)] -> Create Classloader: for: C:\Program Files (x86)\JDownloader
10 2011/6/13 上午 11:19:15 - FINEST [jd.JDClassLoader(<init>)] -> rootDir:C:\Program Files (x86)\JDownloader
10 2011/6/13 上午 11:19:15 - FINER [jd.JDClassLoader(<init>)] -> Jar file loaded: C:\Program Files (x86)\JDownloader\plugins\JDChat.jar
10 2011/6/13 上午 11:19:15 - FINER [jd.JDClassLoader(<init>)] -> Jar file loaded: C:\Program Files (x86)\JDownloader\plugins\JDExternInterface.jar
10 2011/6/13 上午 11:19:15 - FINER [jd.JDClassLoader(<init>)] -> Jar file loaded: C:\Program Files (x86)\JDownloader\plugins\JDFolderWatch.jar
10 2011/6/13 上午 11:19:15 - FINER [jd.JDClassLoader(<init>)] -> Jar file loaded: C:\Program Files (x86)\JDownloader\plugins\JDGrowl.jar
10 2011/6/13 上午 11:19:15 - FINER [jd.JDClassLoader(<init>)] -> Jar file loaded: C:\Program Files (x86)\JDownloader\plugins\JDHJMerge.jar
10 2011/6/13 上午 11:19:16 - FINER [jd.JDClassLoader(<init>)] -> Jar file loaded: C:\Program Files (x86)\JDownloader\plugins\JDHTTPLiveHeaderScripter.jar
10 2011/6/13 上午 11:19:16 - FINER [jd.JDClassLoader(<init>)] -> Jar file loaded: C:\Program Files (x86)\JDownloader\plugins\JDInfoFileWriter.jar
10 2011/6/13 上午 11:19:16 - FINER [jd.JDClassLoader(<init>)] -> Jar file loaded: C:\Program Files (x86)\JDownloader\plugins\JDLangFileEditor.jar
10 2011/6/13 上午 11:19:16 - FINER [jd.JDClassLoader(<init>)] -> Jar file loaded: C:\Program Files (x86)\JDownloader\plugins\JDPackageCustomizer.jar
10 2011/6/13 上午 11:19:16 - FINER [jd.JDClassLoader(<init>)] -> Jar file loaded: C:\Program Files (x86)\JDownloader\plugins\JDRemoteControl.jar
10 2011/6/13 上午 11:19:16 - FINER [jd.JDClassLoader(<init>)] -> Jar file loaded: C:\Program Files (x86)\JDownloader\plugins\JDShutdown.jar
10 2011/6/13 上午 11:19:16 - FINER [jd.JDClassLoader(<init>)] -> Jar file loaded: C:\Program Files (x86)\JDownloader\plugins\JDTray.jar
10 2011/6/13 上午 11:19:16 - FINER [jd.JDClassLoader(<init>)] -> Jar file loaded: C:\Program Files (x86)\JDownloader\plugins\JDUnrar.jar
10 2011/6/13 上午 11:19:16 - FINER [jd.JDClassLoader(<init>)] -> Jar file loaded: C:\Program Files (x86)\JDownloader\plugins\JDWebinterface.jar
10 2011/6/13 上午 11:19:16 - FINER [jd.JDClassLoader(<init>)] -> Jar file loaded: C:\Program Files (x86)\JDownloader\plugins\schedule.jar
10 2011/6/13 上午 11:19:16 - FINER [jd.JDClassLoader(<init>)] -> Jar file loaded: C:\Program Files (x86)\JDownloader\JDownloader.jar
10 2011/6/13 上午 11:19:16 - FINER [jd.JDClassLoader(<init>)] -> Look and Feel JAR loaded: C:\Program Files (x86)\JDownloader\libs\laf\substance-swingx.jar
10 2011/6/13 上午 11:19:16 - FINER [jd.JDClassLoader(<init>)] -> Look and Feel JAR loaded: C:\Program Files (x86)\JDownloader\libs\laf\substance.jar
10 2011/6/13 上午 11:19:16 - FINER [jd.JDClassLoader(<init>)] -> Look and Feel JAR loaded: C:\Program Files (x86)\JDownloader\libs\laf\synthetica.jar
10 2011/6/13 上午 11:19:16 - FINER [jd.JDClassLoader(<init>)] -> Look and Feel JAR loaded: C:\Program Files (x86)\JDownloader\libs\laf\syntheticaBatik.jar
10 2011/6/13 上午 11:19:16 - FINER [jd.JDClassLoader(<init>)] -> Look and Feel JAR loaded: C:\Program Files (x86)\JDownloader\libs\laf\syntheticaBlackEye.jar
10 2011/6/13 上午 11:19:16 - FINER [jd.JDClassLoader(<init>)] -> Look and Feel JAR loaded: C:\Program Files (x86)\JDownloader\libs\laf\syntheticaBlackMoon.jar
10 2011/6/13 上午 11:19:16 - FINER [jd.JDClassLoader(<init>)] -> Look and Feel JAR loaded: C:\Program Files (x86)\JDownloader\libs\laf\syntheticaBlackStar.jar
10 2011/6/13 上午 11:19:16 - FINER [jd.JDClassLoader(<init>)] -> Look and Feel JAR loaded: C:\Program Files (x86)\JDownloader\libs\laf\syntheticaBlueIce.jar
10 2011/6/13 上午 11:19:16 - FINER [jd.JDClassLoader(<init>)] -> Look and Feel JAR loaded: C:\Program Files (x86)\JDownloader\libs\laf\syntheticaBlueMoon.jar
10 2011/6/13 上午 11:19:16 - FINER [jd.JDClassLoader(<init>)] -> Look and Feel JAR loaded: C:\Program Files (x86)\JDownloader\libs\laf\syntheticaBlueSteel.jar
10 2011/6/13 上午 11:19:16 - FINER [jd.JDClassLoader(<init>)] -> Look and Feel JAR loaded: C:\Program Files (x86)\JDownloader\libs\laf\syntheticaGreenDream.jar
10 2011/6/13 上午 11:19:16 - FINER [jd.JDClassLoader(<init>)] -> Look and Feel JAR loaded: C:\Program Files (x86)\JDownloader\libs\laf\syntheticaMauveMetallic.jar
10 2011/6/13 上午 11:19:16 - FINER [jd.JDClassLoader(<init>)] -> Look and Feel JAR loaded: C:\Program Files (x86)\JDownloader\libs\laf\syntheticaOrangeMetallic.jar
10 2011/6/13 上午 11:19:16 - FINER [jd.JDClassLoader(<init>)] -> Look and Feel JAR loaded: C:\Program Files (x86)\JDownloader\libs\laf\syntheticaSilverMoon.jar
10 2011/6/13 上午 11:19:16 - FINER [jd.JDClassLoader(<init>)] -> Look and Feel JAR loaded: C:\Program Files (x86)\JDownloader\libs\laf\syntheticaSimple2D.jar
10 2011/6/13 上午 11:19:16 - FINER [jd.JDClassLoader(<init>)] -> Look and Feel JAR loaded: C:\Program Files (x86)\JDownloader\libs\laf\syntheticaSkyMetallic.jar
10 2011/6/13 上午 11:19:16 - FINER [jd.JDClassLoader(<init>)] -> Look and Feel JAR loaded: C:\Program Files (x86)\JDownloader\libs\laf\syntheticaWhiteVision.jar
10 2011/6/13 上午 11:19:16 - FINER [jd.config.DatabaseConnector(<init>)] -> Loading database
10 2011/6/13 上午 11:19:16 - FINER [jd.config.DatabaseConnector(checkDatabaseHeader)] -> Checking database
10 2011/6/13 上午 11:19:24 - SEVERE [jd.controlling.JDLogger(exception)] -> SEVERE Exception occurred
java.sql.SQLException: Out of Memory
at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
at org.hsqldb.jdbc.jdbcConnection.<init>(Unknown Source)
at org.hsqldb.jdbcDriver.getConnection(Unknown Source)
at org.hsqldb.jdbcDriver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at jd.config.DatabaseConnector.<init>(Unknown Source)
at jd.utils.JDUtilities.getDatabaseConnector(Unknown Source)
at jd.config.SubConfiguration.<init>(Unknown Source)
at jd.config.SubConfiguration.getConfig(Unknown Source)
at jd.gui.swing.jdgui.GUIUtils.getConfig(GUIUtils.java:59)
at jd.Main.main(Unknown Source)
10 2011/6/13 上午 11:19:24 - FINER [jd.config.DatabaseConnector(<init>)] -> Loading database
10 2011/6/13 上午 11:19:24 - FINER [jd.config.DatabaseConnector(checkDatabaseHeader)] -> Checking database
10 2011/6/13 上午 11:19:31 - SEVERE [jd.controlling.JDLogger(exception)] -> SEVERE Exception occurred
java.sql.SQLException: Out of Memory
at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
at org.hsqldb.jdbc.jdbcConnection.<init>(Unknown Source)
at org.hsqldb.jdbcDriver.getConnection(Unknown Source)
at org.hsqldb.jdbcDriver.connect(Unknown Source)
Reply With Quote
  #3  
Old 13.06.2011, 09:55
remi
Guest
 
Posts: n/a
Cool

Exit jD and try to start jD with the following command (to be executed in the jD program folder) :-

Code:
java -Xmx1024m -jar JDownloader.jar
The command starts your jD with a larger memory, because there's a problem with your database that has become too big.
Reply With Quote
  #4  
Old 13.06.2011, 10:39
ice0625
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by remi View Post
Exit jD and try to start jD with the following command (to be executed in the jD program folder) :-

Code:
java -Xmx1024m -jar JDownloader.jar
The command starts your jD with a larger memory, because there's a problem with your database that has become too big.
Thx for your reply. But I have an question. Do I need use this command every time when I run JD?

And after I close the cmd command box, the jd also closed. Is it normal?

Last edited by ice0625; 13.06.2011 at 10:41.
Reply With Quote
  #5  
Old 13.06.2011, 11:17
remi
Guest
 
Posts: n/a
Default

You need to run this command in order to try to solve the issue of your database.

Don't close the command window as long as jD is running. The fact that jD is running is a good sign. Exit jD and look at the size of your database file. It should be much smaller.

You can now continue using jD like before.
Reply With Quote
  #6  
Old 13.06.2011, 11:25
ice0625
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by remi View Post
You need to run this command in order to try to solve the issue of your database.

Don't close the command window as long as jD is running. The fact that jD is running is a good sign. Exit jD and look at the size of your database file. It should be much smaller.

You can now continue using jD like before.
Thx for your helping. This command can slove the problem. At the first time I run jdownloader.exe after use this command, it runs fine. But I run the exe at the second time, jd go back to the same problem as before. So I run the command again, it become fine again. I feel that will be a bad loop....:blink:
Reply With Quote
  #7  
Old 13.06.2011, 12:05
remi
Guest
 
Posts: n/a
Default

I would reduce your list of links, because it might be too big for jD's normal memory settings. You can remove your already downloaded links or keep your links in a text file before you add them to jD.

If you want to keep all your links in jD then you need to make a short-cut for starting jD with the extended memory setting. At the long term, when your list keeps growing quickly, this might not be the best solution because jD needs lots of memory to store its links.
Reply With Quote
  #8  
Old 13.06.2011, 18:24
ice0625
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by remi View Post
I would reduce your list of links, because it might be too big for jD's normal memory settings. You can remove your already downloaded links or keep your links in a text file before you add them to jD.

If you want to keep all your links in jD then you need to make a short-cut for starting jD with the extended memory setting. At the long term, when your list keeps growing quickly, this might not be the best solution because jD needs lots of memory to store its links.
Ok, but what is the command of "starting jD with the extended memory setting"?
Reply With Quote
  #9  
Old 14.06.2011, 10:35
remi
Guest
 
Posts: n/a
Cool

See post #3. The parameter is Xmx. If you've plenty of memory you can even increase the 1024 MB size if that size wouldn't be sufficient.
Reply With Quote
  #10  
Old 14.06.2011, 23:09
ice0625
Guest
 
Posts: n/a
Default

I see. Thx for your helping
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 19:09.
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.