Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java error #25

Open
AndrewSingleplayer opened this issue Dec 20, 2022 · 2 comments
Open

java error #25

AndrewSingleplayer opened this issue Dec 20, 2022 · 2 comments
Labels
help wanted Extra attention is needed question Further information is requested

Comments

@AndrewSingleplayer
Copy link

AndrewSingleplayer commented Dec 20, 2022

When I start run_Find_1OpenCLDevice I get this error
Unrecognized option: --illegal-access=permit
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
How I can fix it?
Edit: After I updated the java from java 8 to java 19 seems to work but I got this inside the .txt file generated by the .bat file:
^CPicked up _JAVA_OPTIONS: -Xmx512M
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option --illegal-access=permit; support was removed in 17.0
2022-12-20 16:13:44,696 [main] INFO net.ladenthin.bitcoinaddressfinder.cli.Main - Find
2022-12-20 16:13:45,650 [main] INFO net.ladenthin.bitcoinaddressfinder.persistence.lmdb.LMDBPersistence - ##### BEGIN: LMDB stats #####
2022-12-20 16:13:45,651 [main] INFO net.ladenthin.bitcoinaddressfinder.persistence.lmdb.LMDBPersistence - ... this may take a lot of time ...
2022-12-20 16:13:45,715 [main] INFO net.ladenthin.bitcoinaddressfinder.persistence.lmdb.LMDBPersistence - DatabaseSize: 4708.55859375 MiB
2022-12-20 16:13:45,715 [main] INFO net.ladenthin.bitcoinaddressfinder.persistence.lmdb.LMDBPersistence - IncreasedCounter: 0
2022-12-20 16:13:45,715 [main] INFO net.ladenthin.bitcoinaddressfinder.persistence.lmdb.LMDBPersistence - IncreasedSum: 0.0 MiB
2022-12-20 16:13:45,716 [main] INFO net.ladenthin.bitcoinaddressfinder.persistence.lmdb.LMDBPersistence - Stat: Stat{branchPages=0, depth=1, entries=1, leafPages=1, overflowPages=0, pageSize=4096}

But from Console I cant figure out if it is working or not, this is what should happen?

@bernardladenthin
Copy link
Owner

Hi, which database are you using? You need to wait till ##### END: LMDB stats ##### occur in the file. It may take a lot of time to read the whole database to the RAM. I recommend a SSD.

@bernardladenthin bernardladenthin added help wanted Extra attention is needed question Further information is requested labels Dec 21, 2022
@bernardladenthin
Copy link
Owner

An example log:

16:54:32.513 [main] INFO  n.l.bitcoinaddressfinder.cli.Main - Find
16:54:32.840 [main] INFO  n.l.b.p.lmdb.LMDBPersistence - ##### BEGIN: LMDB stats #####
16:54:32.840 [main] INFO  n.l.b.p.lmdb.LMDBPersistence - ... this may take a lot of time ...
16:54:32.842 [main] INFO  n.l.b.p.lmdb.LMDBPersistence - DatabaseSize: 4708.55859375 MiB
16:54:32.842 [main] INFO  n.l.b.p.lmdb.LMDBPersistence - IncreasedCounter: 0
16:54:32.842 [main] INFO  n.l.b.p.lmdb.LMDBPersistence - IncreasedSum: 0.0 MiB
16:54:32.843 [main] INFO  n.l.b.p.lmdb.LMDBPersistence - Stat: Stat{branchPages=0, depth=1, entries=1, leafPages=1, overflowPages=0, pageSize=4096}
16:55:41.458 [main] INFO  n.l.b.p.lmdb.LMDBPersistence - LMDB contains 111983796 unique entries.
16:55:41.458 [main] INFO  n.l.b.p.lmdb.LMDBPersistence - ##### END: LMDB stats #####
16:55:51.472 [Timer-0] INFO  n.l.b.ConsumerJava - Statistics: [Checked 0 M keys in 0 minutes] [0 k keys/second] [0 M keys/minute] [Times an empty consumer: 1288] [Average contains time: 0 ms] [keys queue size: 0] [Hits: 0]
16:56:01.464 [Timer-0] INFO  n.l.b.ConsumerJava - Statistics: [Checked 0 M keys in 0 minutes] [0 k keys/second] [0 M keys/minute] [Times an empty consumer: 2864] [Average contains time: 0 ms] [keys queue size: 0] [Hits: 0]
16:56:11.461 [Timer-0] INFO  n.l.b.ConsumerJava - Statistics: [Checked 0 M keys in 0 minutes] [0 k keys/second] [0 M keys/minute] [Times an empty consumer: 4448] [Average contains time: 0 ms] [keys queue size: 0] [Hits: 0]
16:56:21.463 [Timer-0] INFO  n.l.b.ConsumerJava - Statistics: [Checked 0 M keys in 0 minutes] [0 k keys/second] [0 M keys/minute] [Times an empty consumer: 5736] [Average contains time: 0 ms] [keys queue size: 0] [Hits: 0]
16:56:31.462 [Timer-0] INFO  n.l.b.ConsumerJava - Statistics: [Checked 8 M keys in 0 minutes] [164 k keys/second] [8 M keys/minute] [Times an empty consumer: 6441] [Average contains time: 0 ms] [keys queue size: 4] [Hits: 0]
16:56:41.461 [Timer-0] INFO  n.l.b.ConsumerJava - Statistics: [Checked 24 M keys in 1 minutes] [409 k keys/second] [24 M keys/minute] [Times an empty consumer: 6441] [Average contains time: 0 ms] [keys queue size: 4] [Hits: 0]
16:56:51.462 [Timer-0] INFO  n.l.b.ConsumerJava - Statistics: [Checked 40 M keys in 1 minutes] [576 k keys/second] [40 M keys/minute] [Times an empty consumer: 6441] [Average contains time: 0 ms] [keys queue size: 4] [Hits: 0]
16:57:01.461 [Timer-0] INFO  n.l.b.ConsumerJava - Statistics: [Checked 56 M keys in 1 minutes] [704 k keys/second] [56 M keys/minute] [Times an empty consumer: 6441] [Average contains time: 0 ms] [keys queue size: 4] [Hits: 0]
16:57:11.462 [Timer-0] INFO  n.l.b.ConsumerJava - Statistics: [Checked 72 M keys in 1 minutes] [809 k keys/second] [72 M keys/minute] [Times an empty consumer: 6441] [Average contains time: 0 ms] [keys queue size: 4] [Hits: 0]
16:57:21.589 [Timer-0] INFO  n.l.b.ConsumerJava - Statistics: [Checked 89 M keys in 1 minutes] [895 k keys/second] [89 M keys/minute] [Times an empty consumer: 6441] [Average contains time: 0 ms] [keys queue size: 4] [Hits: 0]
16:57:31.462 [Timer-0] INFO  n.l.b.ConsumerJava - Statistics: [Checked 106 M keys in 1 minutes] [964 k keys/second] [106 M keys/minute] [Times an empty consumer: 6441] [Average contains time: 0 ms] [keys queue size: 4] [Hits: 0]
16:57:41.461 [Timer-0] INFO  n.l.b.ConsumerJava - Statistics: [Checked 122 M keys in 2 minutes] [1024 k keys/second] [61 M keys/minute] [Times an empty consumer: 6441] [Average contains time: 0 ms] [keys queue size: 4] [Hits: 0]
16:57:51.463 [Timer-0] INFO  n.l.b.ConsumerJava - Statistics: [Checked 140 M keys in 2 minutes] [1078 k keys/second] [70 M keys/minute] [Times an empty consumer: 6441] [Average contains time: 0 ms] [keys queue size: 4] [Hits: 0]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants