[rules-users] StackOverflow when serializing KieBase

Mark Proctor mproctor at codehaus.org
Wed Jul 30 19:25:55 EDT 2014


It should work, there should not be too much recursion. I’d suggest digging deeper to see if you can point us to the references that are suspect.

Mark
On 30 Jul 2014, at 17:28, Federico Bertola <federico.bertola88 at gmail.com> wrote:

> Hi all,
> when I try to serialize a rather large KieBase I constantly get the 
> aforementioned error. After a bit of tracking I see that the error seems 
> to appear when the KnowledgeBase try to serialize the Rete object.
> I belive this is not an infinite loop because it seems that the graph is 
> quite deep and the serializer recursively calls writeExternal in a (sort 
> of) depth-first fashion.
> 
> Increasing the stack size didn't really help, so I'm asking if there's a 
> better way or if I should give up.
> 
> Thanks :)
> 
> Federico.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users




More information about the rules-users mailing list