Re: JESS: Exception in thread main java.lang.OutOfMemoryError: Java heap space

2009-09-16 Thread jo
: JESS: Exception in thread main java.lang.OutOfMemoryError: Java heap space Just one more thought - if your rules are taking 30 MINUTES rather than 30 seconds then it sounds like you have some kind of loop going on that is building (adding to) memory over and over and over. The Miss Manners

Re: JESS: Exception in thread main java.lang.OutOfMemoryError: Java heap space

2009-09-15 Thread James Owen
Just one more thought - if your rules are taking 30 MINUTES rather than 30 seconds then it sounds like you have some kind of loop going on that is building (adding to) memory over and over and over. The Miss Manners benchmark does this intentionally to stress the rule engine and, in particular,

Re: JESS: Exception in thread main java.lang.OutOfMemoryError: Java heap space

2009-09-14 Thread Ernest Friedman-Hill
Often memory use has nothing to do with how many facts or rules you have, but on the structure of the Rete network you've built with your rules, and in particular, how many partial matches it generates. Have a look at these links to get an idea of what to look out for:

Re: JESS: Exception in thread main java.lang.OutOfMemoryError: Java heap space

2009-09-14 Thread Peter Lin
the simplest solution is to start JESS with the appropriate heap settings -Xms256m -Xmx1024m the default heap in java is 64mb peter On Mon, Sep 14, 2009 at 9:42 AM, jo etaoi...@yahoo.com wrote: Hi I got following error, which surprises me as I try to keep the amount of facts to a minimum.