Runtime error with Amzi! prolog and Java

From: Niki (niki_at_libero.it)
Date: 03/26/04


Date: 26 Mar 2004 09:04:39 -0800

Hi all,
I have a runtime problem with the execution of a prolog engine witch
implements a version of the MinMax algorithm for the chinese checkers
game.
The engine works well in most of case with deep of one and the game
reach the end (even if I play human vs. computer or I make a computer
vs. computer game) but sometimes they generate a casual runtime error
like this:

Error #1058: A runtime error, possible cyclic term. while calling +
sType/5;+ sc
anList/7;- scanList/7;- scanList/7;+ sType/5;+ gType/4;+ mossaNO/3;+
gType/4;+ m
ossaNE/3;+ confronto/10;+ sType/5;+ gType/4;...stack continues...
        at amzi.ls.LogicServer.ExecStr(Native Method)
        at AIBrain.getCalcoloMossa(AIBrain.java:144)
        at Motore.playGame(Motore.java:80)
        at Motore.run(Motore.java:39)

And with the deep of 2 or more the algorithm can't do any moves.
I'm trying to change the amzi.cfg configuration file for increment the
avaiable memory but the error persist even with a huge amount of
memory. With some configuration ( for example, reducing the memory) I
got a "java virtual machines access memory violation error" too.
I think that is't still a memory problem but i can't found the
properly configuration.
If someones have an advice, please help me!!
Thanks for help!!

Niki



Relevant Pages

  • Re: Auto Assault Performance Not Good on Current Machine
    ... If you have lots of programs loaded when you start the game, there is less system memory for the game. ... You might even decide to disable the firewall and then also disable the LAN connectoid if the game doesn't need Internet access while playing it. ... I'm not familiar with your particular video card. ...
    (microsoft.public.windowsxp.general)
  • Re: memory could not be "read"
    ... then the game will shut down after I press ok. ... Memory: 2048MB RAM ... Prime95, only runs two copies on a dual core processor for better testing. ...
    (microsoft.public.windowsxp.hardware)
  • Re: Want More FPS With Gaming.....
    ... music and Nascar Racing 2003(simulation game). ... I was thinking video card, ... 512mb memory 400mhz ... There are precious few new AGP motherboards. ...
    (microsoft.public.windowsxp.hardware)
  • RE: gameplay performance
    ... > Game performance has so many variables, it's difficult to pin them down. ... > could be cpu usage, memory, or hardware performance. ... > windows XP to look like windows 2k releases a slight amount of memory. ... > download the vendor drivers afterwards. ...
    (microsoft.public.windowsxp.perform_maintain)
  • Re: Opinion?? Expansion vs. compatibility
    ... big the game is versus making the game playable on ... but relative to the amount of RAM ... available to modern computers, it's trivial (or at least a minor ... the bulk of that memory ...
    (rec.games.roguelike.development)