Hi!

What about facts (I assume you don't just "play" with rules)? Do you retract LHS facts after using them, or do you keep them?
After restarting there are zero facts (a (reset) asserts the (initial-fact)) asserted in the engine. Depending on how many facts where previously stored in the engine, this can account for a very big difference. I once performed some tests where 10.000 facts, which were accidentally not retracted during the whole process, required some 10 MB of main memory.

Greetings


Thomas Barnekow

________________________________

Dipl.-Inform. Thomas Barnekow

Fraunhofer IAO, Competence Center Software Technology
mail: Nobelstra�e 12, D-70569 Stuttgart, Germany
phone: +49 (0) 711 / 970 - 2346
fax: +49 (0) 711 / 970 - 2300
email: [EMAIL PROTECTED]
web: http://www.swt.iao.fhg.de




Rudolph George-P27574 <[EMAIL PROTECTED]>
Gesendet von: [EMAIL PROTECTED]

10.11.99 16:21
Bitte antworten an Rudolph George-P27574

       
        An:        Jess Users List <[EMAIL PROTECTED]>
        Kopie:        
        Thema:        JESS: Memory utilization question



In using version 50a6 (we're just now upgrading to 50b2) we find the
following:
We have the engine running as a long-running process.
We add, modify and delete rules incrementally over time.
As we do so, the memory grows.
Past a certain point, we save out the rules, shutdown and restart the
engine, and reload
the rule set previously saved.
Memory usage is significantly reduced after restart given the same set of
rules.

What accounts for the difference?


----------------------------------------------------------------------
George Rudolph
Senior Software Engineer
Motorola SSG
8201 E McDowell Rd.  Scottsdale, AZ, USA 85252
MailStop H2036B
Email: [EMAIL PROTECTED]
-----------------------------------------------------------------------

---------------------------------------------------------------------
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]
---------------------------------------------------------------------



Reply via email to