Hi, Edson and all
I am making an experiment on Drools Fusion these days. I found it
consumes a lot of memory. And the
number of rules, the fields of events, the complexity of rules affect the
memory usage.
The flow of my experiment is as follow:
1. I have two tables, one for Transaction, one for account. The
transaction table have a foreign key
number which is the primary key of account table.
2. In one thread, I loaded transaction data and account data into a
ArrayBlockingQueue, whose size is 100000.
3. In another thread, I inserted the Transaction as events and the
related account as facts into the
Fusion Engine.
4. I used a java profiler tool to monitor the memory usage of the Fusion
engine, and recorded the
highest heap memory usage of ecah round of my experiment.
Here is the results:
Amount of events highest heap memory usage(MB)
5000 268
10000 470
15000 555
20000 645
25000 845
30000 958
35000 1011
40000 1127
45000 1331
Is this the normal memory usage of Drools Fusion? Otherwise, did I make a
mistake?
See the attachments for the rules and Java Model classes . If you are
intrested in this experiment, I can upload all codes.
Thank you very much. I will appreciate for your response.
http://drools.46999.n3.nabble.com/file/n4018307/Cep1.drl Cep1.drl
http://drools.46999.n3.nabble.com/file/n4018307/TransactionEvent.java
TransactionEvent.java
http://drools.46999.n3.nabble.com/file/n4018307/Account.java Account.java
--
View this message in context:
http://drools.46999.n3.nabble.com/Does-Drools-Fusion-consume-a-lot-of-mem...
Sent from the Drools: User forum mailing list archive at
Nabble.com.