I keep getting a StackOverflowError when I try to serialize my objects. What does this mean and how can I stop it?

Tim Rohaly

Serialization is a recursive process. If your object graph is too deep, then you could overflow the JVM stack. To prevent this, implement readObject() and writeObject() and use your superior knowledge of the structure of your object graph to efficiently serialize your objects.

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact