Hi !

Jess 5.1
Java 1.3
512MB RAM
fact file -> 18MB

loading it via (load-facts) causes this:

Exception in thread "main" java.lang.OutOfMemoryError
        <<no stack trace available>>

I tried the -Xms256MB option in the Java cmdlien, but it 
doesn´t do anything.
During the loading process I was checking memory usage
in NT task manager and it showed 70MB memory usage
for java.exe when it bailed out.
I have had much larger fact bases before, so the 70MB
itself cannot be the problem. However, it works with smaller
fact files...

My code:
        (batch templates.jess)
        (set-fact-duplication TRUE)
        (reset)
        (printout t "loading facts" crlf)
        (load-facts "Facts.jess")
        (printout t "go" crlf)
        (run)
        (printout t "done" crlf)

templates.jess contains ONLY deftemplate definitions.
Any ideas?

Regards,
Norman Gyhra

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