RE: JESS: [EXTERNAL] Question on QueryResult close() function

2013-06-28 Thread Friedman-Hill, Ernest
Hi Daniel, Closing a QueryResult doesn't really do anything important; normal garbage collection will free all of its resources. I used Google to see if there was a standard Jess/Matlab integration that I didn't know about, but I didn't find one; I'm afraid I don't know anything about how

Re: JESS: [EXTERNAL] Question on QueryResult close() function

2013-06-28 Thread Peter Lin
Hi Daniel, How are you measuring the leak? It is important to look at the heap used and not the total heap allocated to the JVM process. What I've done in the past with JESS is write a function that uses java's runtime class to get actual memory used stats. Runtime rt =