[EMAIL PROTECTED] wrote:
I think Tom Seipp wrote:
Hi,
While using the trial version of 6.1p5 under a memory profiler, it appears that there are a large number of instances of the jess.e class (a class with if() and a() methods) that aren't being garbaged collected ever.
I'm resetting the rules engine and clearing storage regularly, but these instances remain. Is there any other clearning necessary? or is anyone else expereinceing the same thing?
Jess rules are compiled into a "Rete network," a complex data structure that bears some similarity to the indexes of a database, but on steroids. This class is a part of that network. There will be a number of instances of this class for each rule you have defined, and neither (reset) nor (clesr-storage) will have any affect on them. They will exist as long as the rule(s) they are related to are defined.
You should observe that some fraction of them will disappear for each rule you remove using (undefrule), and they should all disappear if you erase all the rules using (clear).
-------------------------------------------------------------------- To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]' in the BODY of a message to [EMAIL PROTECTED], NOT to the list (use your own address!) List problems? Notify [EMAIL PROTECTED] --------------------------------------------------------------------
