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] <
ml-node+s46999n4025974h27(a)n3.nabble.com>
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...
To start a new topic under Drools: User forum, email
ml-node+s46999n47000h33(a)n3.nabble.com
To unsubscribe from Drools, click
here<http://drools.46999.n3.nabble.com/template/NamlServlet.jtp?macro=...
.
NAML<http://drools.46999.n3.nabble.com/template/NamlServlet.jtp?macro=...
-----
Nicolas Héron
--
View this message in context:
http://drools.46999.n3.nabble.com/Drools-5-5-Problems-with-big-rules-file...
Sent from the Drools: User forum mailing list archive at
Nabble.com.