Java engines, Pirarucu in particular

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Rebel, chrisw

User avatar
Rebel
Posts: 7004
Joined: Thu Aug 18, 2011 12:04 pm
Full name: Ed Schröder

Java engines, Pirarucu in particular

Post by Rebel »

Tried one, installed Java and Piracucu.

Github docu states:

•Download the latest release.
•Uncompress the downloaded file in a empty directory.
•Run the bash file in bin directory.

I assume the author meant batch file, there are only *.bat files in the bin folder.

Run them all but got an error message:

Code: Select all

C:\Users\eddy\Desktop\pirarucu-jvm-3.3.5\bin>pirarucu.bat
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
        at pirarucu.hash.TranspositionTable.<init>(TranspositionTable.kt:42)
        at pirarucu.hash.TranspositionTable.<init>(TranspositionTable.kt:44)
        at pirarucu.search.MultiThreadedSearch.<clinit>(MultiThreadedSearch.kt:27)
        at pirarucu.MainKt.initialize(Main.kt:103)
        at pirarucu.MainKt.main(Main.kt:35)
90% of coding is debugging, the other 10% is writing bugs.
Gabor Szots
Posts: 1365
Joined: Sat Jul 21, 2018 7:43 am
Location: Szentendre, Hungary
Full name: Gabor Szots

Re: Java engines, Pirarucu in particular

Post by Gabor Szots »

Hello Ed,

I repeated your steps and all went well. I have JDK 14 installed. Some engines do not work with Java 8.
Gabor Szots
CCRL testing group
adams161
Posts: 626
Joined: Sun May 13, 2007 9:55 pm
Location: Bay Area, CA USA
Full name: Mike Adams

Re: Java engines, Pirarucu in particular

Post by adams161 »

Rebel wrote: Mon Jun 08, 2020 12:15 pm Tried one, installed Java and Piracucu.

Github docu states:

•Download the latest release.
•Uncompress the downloaded file in a empty directory.
•Run the bash file in bin directory.

I assume the author meant batch file, there are only *.bat files in the bin folder.

Run them all but got an error message:

Code: Select all

C:\Users\eddy\Desktop\pirarucu-jvm-3.3.5\bin>pirarucu.bat
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
        at pirarucu.hash.TranspositionTable.<init>(TranspositionTable.kt:42)
        at pirarucu.hash.TranspositionTable.<init>(TranspositionTable.kt:44)
        at pirarucu.search.MultiThreadedSearch.<clinit>(MultiThreadedSearch.kt:27)
        at pirarucu.MainKt.initialize(Main.kt:103)
        at pirarucu.MainKt.main(Main.kt:35)
The out of memory on the transposition table is part of hashing. Maybe you need to have it set a lower hash memory size for your computer.