[jboss-dev-forums] [Design of JBoss Serialization] - Re: StackOverflow in my datatypes

clebert.suconic@jboss.com do-not-reply at jboss.com
Tue Aug 1 09:12:42 EDT 2006


Both JBoss and Java Serialization uses a lot of recursivity.

Your class has probably a very deep object graph. You probably has relationship between your objects, and every single object is a new object. (what is forcing the deep stack trace).

If you have multiple objects with the same ID, you should cache them trying to diminish the number of instances in your graph.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962161#3962161

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962161



More information about the jboss-dev-forums mailing list