If you take a look at other iterations from the same method, the fault is
obvious, the code should be childLeftTuple = (LeftTuple)
childLeftTuple.getLeftParentNext().
Will make an issue.
Cheers,
Dan
case NodeTypeEnums.EvalConditionNode : {
//context.out.println( ".... EvalConditionNode" );
for ( LeftTuple childLeftTuple = leftTuple.firstChild;
childLeftTuple != null; childLeftTuple = (LeftTuple)
childLeftTuple.getLeftParentNext() ) {
stream.writeShort( PersisterEnums.LEFT_TUPLE );
stream.writeInt(
childLeftTuple.getLeftTupleSink().getId() );
writeLeftTuple( childLeftTuple,
context,
recurse );
}
stream.writeShort( PersisterEnums.END );
//context.out.println( "---- EvalConditionNode --- END"
);
break;
}
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/OOME-on-JPA-persisten...
Sent from the Drools - User mailing list archive at
Nabble.com.