apache spark - Jboss drools: Memory leak when using accumulate collectList function -
i using jboss drools execute rules on spark big data platform. using accumulate function in "when" (lhs) collect objects matching condition. works cases list size small. however, 1 of cases, have 25000 matches condition. collectlist should have 25000 items. not work.
when checked logs, see full gc being done , job gets stuck there. please can me out here. alternatives working good.
i tried increasing executor memory no luck.
example of rule:
rule "get people name alfredo , age 55" salience 1 when accumulate($p: person(name == "alfredo", age == 55); $personlist: collectlist( $p ), $cnt: count($p); $cnt>0) create_person_result(kcontext, min($personlist, "name")) end
thanks,
pranoti
wiki
Comments
Post a Comment