This was the 50,000 lines spreadsheet?
IIRC, the data in the Bean wasn't engineered with memory saving in mind.
Could you please post this class again, and we'll see how to tone it
down to get then all into the heap.
-W
On 26/07/2012, zeeshan <zeeshan.spring(a)gmail.com> wrote:
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-tp401...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users