JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 27.07.2011, 01:33
jdstuck
Guest
 
Posts: n/a
Default database error, all links are gone, what's wrong?

database error, all links are gone

today, i collected some links, in case that something bad happened screw my collection, i quit JD, make sure JD save the links, and restart it. unfortunately, bad things do happened. JD started, but there's nothing in windows. all my links are GONE? Why?

it has screwed me once. see "JD stucked, How to save my unfinished links?"

and IT SCREW ME AGAIN, IN A WEEK??? AAAAAAAAHHHH.................
i'm TOTALLY FREAKING OUT!!!:outch::outch::outch::outch::outch:

what's wrong with JD?
my question is :

1. i remain links after download for a record in case of reduplicate,
for now, it has been almost 10000 links saved in JD.
So is there some sort of limit of number of links saved in JD? like cannot over 10000?

2. how to make JD auto-backup its database?

3. how to rescue my links from this totally disaster:outch:


To Jiaz:
i have send my database.rar links to your massage box, please check and help me, thank you very much.

Last edited by Jiaz; 22.08.2011 at 09:03.
Reply With Quote
  #2  
Old 27.07.2011, 08:43
remi
Guest
 
Posts: n/a
Default

1) I keep my links in text files. jD isn't made for storing a long history of links. Links in jD consume a lot of memory. Also saving them becomes difficult after some time.

2) jD auto-saves its database every 10 minutes. If you would run a real-time/continuous backup program that can handle open files, you can backup the database as often as you want.

3) Wait for Jiaz, the saviour of databases.

Other related info :-

- There is a versioning option in jD that makes versions of your configuration and its links. Select File -> Save -> Backup or hit Ctrl-B whenever you add links to jD and this quagmire won't happen again.

- Note that the links in the Linkgrabber aren't saved. This is an expensive mistake that many customers make.
Reply With Quote
  #3  
Old 27.07.2011, 09:45
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,532
Default

jd is not limited in any links counting. i saw ppl with 900k links in it *freaks*
it is important to give java enough memory to work with, we limit it by default to 512mb.
so with more links you need more memory

you must start jdownloader with
java -Xmx2048m -jar JDownloader.jar
in order to allow 2gb of ram usage.

next major version will use a lot less ram/cpu. easily can handle 10k links and more

try to start jd with more memory and it should be able to restore them (use the backup in case it does not work)

do not missuse jdownloader downloadlist as history!
__________________
JD-Dev & Server-Admin
Reply With Quote
  #4  
Old 27.07.2011, 16:09
jdstuck
Guest
 
Posts: n/a
Default

TO remi:
thank you for your advise.
Quote:
jD auto-saves its database every 10 minutes.
it seems not work that way. and i cannot find any config about auto-saves.
Quote:
- Note that the links in the Linkgrabber aren't saved. This is an expensive mistake that many customers make.
i was aware of that kind of mistake month ago. it's not that problem.

maybe save the database manually is a good idea.

thx.




TO jiaz:
Quote:
you must start jdownloader with
java -Xmx2048m -jar JDownloader.jar
in order to allow 2gb of ram usage.
may i ask:
how to exactly excute "start jdownloader with java -Xmx2048m -jar JDownloader.jar"
can you give me more details? i run the command in DOS, is that right?

i ran the command in DOS on my computer (2G memory)
it returns:

Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.

and i borrowed a computer from a friend (3G memory)
and try it again, it returns the same : "Error occurred ......"

i changed the command to"java -Xmx1024m -jar JDownloader.jar"
but it seems still doesn't work. only returns "key not found...." some thing like that.

so i'm almost Desperate.
is there any chance to save my links back?
looking forward to your reply.
thx.

Last edited by jdstuck; 27.07.2011 at 17:25.
Reply With Quote
  #5  
Old 27.07.2011, 16:40
editestowy's Avatar
editestowy editestowy is offline
Polish Supporter
 
Join Date: May 2009
Location: PL
Posts: 3,026
Default

Quote:
Originally Posted by jdstuck View Post
i changed the command to"java -Xmx-1024m -jar JDownloader.jar"
Correct command:
"java -Xmx1024m -jar JDownloader.jar"

But for 2GB memory machine I suggest to use default 512MB for jD (so use simple jdownloader.exe because it calls java with
-Xmx512m parameter). 1024MB seems to be too much and your comp will start to swap memory to HDD.

If you want jD to make automatic backup of the links (and options) - you may try to use Nightly version with Scheduler extension - it's possible to specify how often backup should be executed.
Reply With Quote
  #6  
Old 27.07.2011, 17:25
jdstuck
Guest
 
Posts: n/a
Default

Quote:
Correct command:
"java -Xmx1024m -jar JDownloader.jar"
sorry, it's a typing mistake in reply, not in DOS.
Reply With Quote
  #7  
Old 28.07.2011, 08:53
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,532
Default

you must use at least 1024m, maybe 1500m
because many links need more ram in old stable.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #8  
Old 30.07.2011, 19:00
jdstuck
Guest
 
Posts: n/a
Default

i've let it go.

when the "next major version" release?
Reply With Quote
  #9  
Old 31.07.2011, 08:46
remi
Guest
 
Posts: n/a
Default

Then your jD will be stuck for some time but what would you expect with such an alias? Please read "More realistic project plan & schedule".
Reply With Quote
  #10  
Old 31.07.2011, 13:42
Jorchking
Guest
 
Posts: n/a
Default

I have the same problem, when open the JD all the links dissappeared.

The only solution is wait for and update?
Reply With Quote
  #11  
Old 31.07.2011, 13:53
remi
Guest
 
Posts: n/a
Default

You are probably using JRE 1.6 update 26. You need to revert to a stable 32 bits version of the JRE 1.6. Update 17 or 21 are good ones. See "**External links are only visible to Support Staff**.

See also "Attention very important when upgrading to Java 1.6.0_26".
Reply With Quote
  #12  
Old 19.08.2011, 06:08
CDEX
Guest
 
Posts: n/a
Default

I'm using java 1.6.0_22 and having the same issue, the database is 16mb before I start jdownloader. After the start, it expands to 100MBs(now gonne to 400MBs, i will delete it and reinstall de old 16MB, no data lost for now). I tried to restore using "java -Xmx1024m -Dsun.java2d.d3d=false -jar JDownloader.jar" but after the program starts no files on list...

Using 1.6.0_22 since 10/2010, never had any problem...
Windows 7 x64

tip: To use the command you must enable the path to java.exe, try path="c:\(program folder to java)\jre6\bin"

Thanks in advance.

Last edited by CDEX; 21.08.2011 at 20:16.
Reply With Quote
  #13  
Old 19.08.2011, 08:43
remi
Guest
 
Posts: n/a
Default

Update 22 is not the best version of java. I would remove it and replace it by JRE (1.)6 update 21. See "**External links are only visible to Support Staff**. Also use JavaRa before installing the new version to be sure that all remaining bits of java are removed.
Reply With Quote
  #14  
Old 21.08.2011, 21:40
CDEX
Guest
 
Posts: n/a
Default

Look likes this last update fixed this problem, at least to me.

Thank you very much for the help.
Reply With Quote
  #15  
Old 05.10.2011, 21:53
bigojono
Guest
 
Posts: n/a
Default

so how was this fixed? I have java version 6 update 17 (64 bit) and no links and an old backup database. I need a step by step guide, really not very computer savvy :( thanks in advance
Reply With Quote
  #16  
Old 06.10.2011, 10:01
remi
Guest
 
Posts: n/a
Default

If you want to know how to use the backup version, then just extract the files in the archive over the \config sub-folder that you'll find in your jD program folder.

If you want to know how to extract files from an archive, please consult the manual for your file archiving/compression tool.

BTW, you don't need a 64 bits version of java for running jD. A 32 bits version is sufficient for most applications.
Reply With Quote
  #17  
Old 06.10.2011, 23:18
bigojono
Guest
 
Posts: n/a
Default

I've extracted the backup zip to the config folder but it still is empty. the database.scrpit file is 543MB so it should have something in it but still no luck
Reply With Quote
  #18  
Old 07.10.2011, 08:48
remi
Guest
 
Posts: n/a
Default

In order to open such a large file you need to increase the memory space for running jD. Read post #3. Maybe a parameter -Xmx1024m is enough.

Here are two reasons for not storing too many links in jD :-

1) Don't use jD for keeping a history of links (yet). There are functions in jD to remove the completed/dead links. Keep your links in a separate text file.

2) Also adding links that will be downloaded next week is risky because links can go off-line and if they belong to a set you need to find mirror links or you're wasting time & bandwidth.
Reply With Quote
  #19  
Old 08.10.2011, 22:45
bigojono
Guest
 
Posts: n/a
Default

to change the memory parameter for java i followed the instructions on **External links are only visible to Support Staff****External links are only visible to Support Staff** and changed it to 1024, 2048 and 3072 but still no luck. i have 4GB or RAM so it should be able to handle it. let me know if thats how to change the parameters. thanks
Reply With Quote
  #20  
Old 09.10.2011, 09:33
remi
Guest
 
Posts: n/a
Default

You don't need to increase the java applet memory in your browser but the memory for starting up jD. Please, read post #3 again.
Reply With Quote
  #21  
Old 09.10.2011, 13:52
bigojono
Guest
 
Posts: n/a
Default

ok i've changed the java applet memory back to default and typed java -Xmx2048m -jar JDownloader.jar into my command prompt but all it says is 'Unable to access jarfile JDownloader.jar' What am I doing wrong?
Reply With Quote
  #22  
Old 09.10.2011, 14:10
tony2long's Avatar
tony2long tony2long is offline
English Supporter
 
Join Date: Jun 2009
Posts: 6,507
Default

Open notepad, write that command, save it into JDownloader folder as something.bat and click it.
Reply With Quote
  #23  
Old 09.10.2011, 17:16
bigojono
Guest
 
Posts: n/a
Default

well it opened JDownloader but still no links. any other suggestions?
Reply With Quote
  #24  
Old 09.10.2011, 17:29
tony2long's Avatar
tony2long tony2long is offline
English Supporter
 
Join Date: Jun 2009
Posts: 6,507
Default

If you want me to try fix it, see your PM. Or try older backup that is much smaller.
Reply With Quote
  #25  
Old 12.10.2011, 20:40
bigojono
Guest
 
Posts: n/a
Default

I used an old backup and only had a few links to recover. thanks for all the help though
Reply With Quote
  #26  
Old 13.10.2011, 05:54
tony2long's Avatar
tony2long tony2long is offline
English Supporter
 
Join Date: Jun 2009
Posts: 6,507
Default

Thanks for the feedback.
Reply With Quote
Old 14.02.2012, 01:25
cmdv
Message deleted by raztoki. Reason: dupe http://board.jdownloader.org/showthread.php?goto=newpost&t=35461 & answered within that thread..
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 04: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 - 2024, Jelsoft Enterprises Ltd.