01-25-2021, 08:32 PM
It's running out of memory because our Biased MCTS AI (which is the best AI we have so far in this game, and is hence also used if you select "Ludii AI" as the AI for one or both players) apparently needs quite a bit of memory in this game -- more than your Java process has available. On my machine it works fine, but the process does use close to 2600MB, which is quite a bit more than most games.
Until we get around to fixing it, there are 2 quick solutions you can use:
1) Just make sure to set the AI for both players in the dropdown menu to something other than Ludii AI or Biased MCTS. The game itself should load fine, it's just these AIs that require a lot more memory on this game
2) Launch Ludii.jar from the command line, using the -Xmx VM argument to increase the memory available to the application. Only do this if your computer actually has enough RAM available. For example, you could run the application using something like: "java -jar Ludii.jar -Xmx3G" (this would give 3GB of memory to the application, which should *probably* be enough -- you can increase if your hardware allows)
Until we get around to fixing it, there are 2 quick solutions you can use:
1) Just make sure to set the AI for both players in the dropdown menu to something other than Ludii AI or Biased MCTS. The game itself should load fine, it's just these AIs that require a lot more memory on this game
2) Launch Ludii.jar from the command line, using the -Xmx VM argument to increase the memory available to the application. Only do this if your computer actually has enough RAM available. For example, you could run the application using something like: "java -jar Ludii.jar -Xmx3G" (this would give 3GB of memory to the application, which should *probably* be enough -- you can increase if your hardware allows)