Closed tissatussa closed 3 years ago
Hi and thanks for reporting the issue! I will investigate it on my setup and comment here ... Best regards, Krasimir
Hi, I was not successful in preproducing the issue on my setup.
Could you please give me more details:
It is under Linux, ok. ;-)
Best regards, Krasimir
Hi,
meanwhile, you could try with the new version: https://github.com/bagaturchess/Bagatur/releases/tag/v2.2h This will help only if this error "java.lang.reflect.InvocationTargetException" corresponds to Out Of Memory error.
You could set "setoption name Logging Policy value multiple files" in order to get full logs of Bagatur. They will be generated in log sub-directory. You are currently using 'setoption name Logging Policy value none'
Best regards, Krasimir
i downloaded your v2.2h asset ZIP and tried it but still some error occurs in CuteChess .. it's even worse : v2.2h does not play without FEN either !? It crashes and CuteChess shows this little window :
these are my settings in CuteChess .. they are the same as for v2.2g :
and here's the log : Bagatur_1636630901212.zip
Btw. you ask What are the memory settings if you use java -Xmx option? i don't understand -- i do not use java to run it (i mean i only use the .sh file).
Thanks a lot for your prompt test and reply! This is what we see in the log:
I have to think why this happens under linux and works well on windows. The Java Virtual Machine should work in the same way on both operating systems.
I will provide another version / fix for sure.
Could you please try something? I believe it is easy but will be very helpful as I don't have linux. Change this line in Bagatur_1core.sh file "export PROCESS_MEMORY=1024M" to "export PROCESS_MEMORY=2048M" and try again. This will increase the memory for the Java process from 1024MB to 2048MB. Best regards, Krasimir
changing to 2048M in the .sh file solved it ! now Bagatur v2.2h plays OK in CuteChess with and without start FEN ! [ i did not try this change in v2.2g yet, but i guess the result is the same ]
it's a pitty : Bagatur v2.2h lost its first game .. reason : "connection stalls" !? Here's the log : Bagatur_1636645857638.zip
Yes, it should work in the same way with 2.2.g. Now the bug is fixed: the size of evaluation caches was 2 times bigger than it has to be, multiplied two times by 2 instead of only once. :-) https://github.com/bagaturchess/Bagatur/releases/tag/v2.2i This release must work without any changes. Looking forward to your feedback ... Best regards, Krasimir
OK, i will try v2.2i .. does it solve the "connection stalls" error also ?
Ok, Bagatur was +254 CP and crashes, nice. :-) I hope so it is also fixed: it is again OutOfMemory issue, which appears after some time. Please let me know what is the result ... I want to be sure that it works correctly now or if necessary to release new version. Best regards, Krasimir
OK .. it's late here (i'm in Holland) .. tomorrow i will test v2.2i and let Bagatur play games in CuteChess .. 'till later !
Hi, and good morning! ;-) I have removed all temporal versions (released today 11.11.2021) and finally released Bagatur 2.3 https://github.com/bagaturchess/Bagatur/releases/tag/v2.3 With version 2.3, the memory settings should working quite well. Best regards, Krasimir
hi, today i downloaded your new v2.3 (i must use the asset because i can not compile with Eclipse) and let it play some games in CuteChess : all went OK ! After 3 games, with / without start FEN, playing White / Black, the v2.3 did not crash or freeze or disconnect ! [ i have some questions though -- i will open a new Issue for that ]
Ok, thanks for the feedback! Best regards, Krasimir
Hi, does this issue need to be still open? :-) Best regards, Krasimir
you can close this issue because v2.3 plays well, with or without starting FEN, with White and Black.
hi, i execute your new v2.2g zip asset(s) but it crashes in CuteChess (v1.2.0) when a start FEN is set .. without FEN it plays OK .. this is with both Black and White .. i use the same CuteChess settings as my v2.2e.
what's wrong ? here's the full debug log until crashing :