[rules-users] OOME on JPA persistence of stateful session

dan.danciu ddanciuster at gmail.com
Thu Oct 7 05:04:20 EDT 2010


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-persistence-of-stateful-session-tp1647064p1647186.html
Sent from the Drools - User mailing list archive at Nabble.com.



More information about the rules-users mailing list