hi,everybody
I have some outofmemory problem, does anyone know how to slolve it?
this is the problem:
Jess> (clear)
TRUE
Jess> (batch module1_DaMuJia.txt)
TRUE
Jess> (batch module2_WDconfigurate.txt)
6
Jess> (batch module3_WDGJ_Rule.txt)
13
Jess> (batch module4_WD_SX.txt)
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
at jess.ArrayTokenList.add(ArrayTokenList.java:38)
at jess.TokenTree.doAdd(TokenTree.java:205)
at jess.TokenTree.rehash(TokenTree.java:115)
at jess.TokenTree.add(TokenTree.java:43)
at jess.Node2.callNodeLeft(Node2.java:167)
at jess.NodeJoin.passAlong(NodeJoin.java:99)
at jess.Node2.tokenMatchesLeft(Node2.java:328)
at jess.Node2.doRunTestsVaryRight(Node2.java:314)
at jess.Node2.doRunTestsVaryRight(Node2.java:299)
at jess.Node2.runTestsVaryRight(Node2.java:292)
at jess.Node2.callNodeLeft(Node2.java:168)
at jess.NodeJoin.passAlong(NodeJoin.java:99)
at jess.Node2.tokenMatchesLeft(Node2.java:328)
at jess.Node2.doRunTestsVaryRight(Node2.java:314)
at jess.Node2.doRunTestsVaryRight(Node2.java:299)
at jess.Node2.runTestsVaryRight(Node2.java:292)
at jess.Node2.callNodeLeft(Node2.java:168)
at jess.NodeJoin.passAlong(NodeJoin.java:99)
at jess.Node2.tokenMatchesLeft(Node2.java:328)
at jess.Node2.doRunTestsVaryRight(Node2.java:314)
at jess.Node2.doRunTestsVaryRight(Node2.java:299)
at jess.Node2.runTestsVaryRight(Node2.java:292)
at jess.Node2.callNodeLeft(Node2.java:168)
at jess.NodeJoin.passAlong(NodeJoin.java:99)
at jess.Node2.tokenMatchesLeft(Node2.java:328)
at jess.Node2.doRunTestsVaryRight(Node2.java:314)
at jess.Node2.doRunTestsVaryRight(Node2.java:299)
at jess.Node2.runTestsVaryRight(Node2.java:292)
at jess.Node2.callNodeLeft(Node2.java:168)
at jess.NodeJoin.passAlong(NodeJoin.java:99)
at jess.Node2.tokenMatchesLeft(Node2.java:328)
at jess.Node2.doRunTestsVaryRight(Node2.java:314)
The attach is the sectional drawing of the problem.
thanks all.