Runtime error with Amzi! prolog and Java
From: Niki (niki_at_libero.it)
Date: 03/26/04
- Next message: Alexei A. Morozov: "Re: Parallel prolog"
- Previous message: Bill Spight: "Re: Sublists question"
- Next in thread: Amzi! inc.: "Re: Runtime error with Amzi! prolog and Java"
- Reply: Amzi! inc.: "Re: Runtime error with Amzi! prolog and Java"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Alexei A. Morozov: "Re: Parallel prolog"
- Previous message: Bill Spight: "Re: Sublists question"
- Next in thread: Amzi! inc.: "Re: Runtime error with Amzi! prolog and Java"
- Reply: Amzi! inc.: "Re: Runtime error with Amzi! prolog and Java"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|