Hi,
Are you using listeners ? if yes you should unregister them from the working memory and apply the dispose method to be sure all memory is ..disposed !
Your file may be big but as binary, you package may not be so big and it depends also of how many objects you inserted in the working memory (StatefullKnowledgeSessions).
Also, I guess your are using jdk 64 bits ? Then you can use more memory then just 1.5 GB.
Your error message is strange. Does it work if you keep all rules but reduce the number of // sessions ?
You should give us more info.
Cheers
Nicolas


2013/9/16 peter.kutzner [via Drools] <[hidden email]>
Hi community

I have actually some problems to work with my rules file (.drl).
It is about 1.5Meg (~2500 rules)

After creating multiple sessions (3 to 9; StatefulKnowledgeSessions) i get an exception.

Usually '... java.lang.RuntimeException: cannot invoke method: update ...'
or directly and '....evaluate(Unknown Source) ...) is thrown.

After reducing the rules file size to less than 500k it works without any exceptions.

Using:
Drools 5.5
Win7 X64 / 16G Ram

Does anyone have similar problems ?
Are there any known memory problems within Drools 5.5 ?
Or is my rules file unusually big ?

T.i.a.
Peter


If you reply to this email, your message will be added to the discussion below:
http://drools.46999.n3.nabble.com/Drools-5-5-Problems-with-big-rules-file-1-5Meg-tp4025974.html
To start a new topic under Drools: User forum, email [hidden email]
To unsubscribe from Drools, click here.
NAML

Nicolas Héron


View this message in context: Re: Drools 5.5 : Problems with big rules file (~1.5Meg)
Sent from the Drools: User forum mailing list archive at Nabble.com.