[rules-users] Using global variable in DRL file

zeeshan zeeshan.spring at gmail.com
Thu Jul 26 06:08:56 EDT 2012


Hi MIke !

Yes we have multiple CSVBeanAgent objects that initially we tried to insert
in statefull session but we faced heap size issue. This Heap Issue was
resolved by *Laune* using CSV, and we are following similar approach here
too but we faced heap size issue. So we followed global variable approach.

   Instead of inserting CSVBEanAGent objects in statefull session, we
inserted it in t he global variable of type Hashmap. By this we avoided Heap
size issue, but now the problem is Global variable in all the Rules as well
as retreive that updated global value back in RuleMain.java file.

So can u help us in finding other solution or  through global variable....??


Thanks.



--
View this message in context: http://drools.46999.n3.nabble.com/Using-global-variable-in-DRL-file-tp4018911p4018917.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list