dcsimg
Serialization of large Objects
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Amit_Sharma
Posted On:   Tuesday, December 3, 2002 11:19 AM


I am trying to serialize an Object and the program
hangs at the instruction where I have


SomeClass writeObj;

ObjectOutputStream o;

o.writeObject((Object)writeObj);



After considerable amount of debugging I found out that
the behaviour of the program was dependent on the size
of the writeObj object. If I fill it up with a lot of
data it hangs but does fine otherwise.



Any suggestions???



Thanks,

Amit

Re: Serialization of large Objects

Posted By:   James_Bayer  
Posted On:   Tuesday, December 3, 2002 11:51 AM

How large are we talking? Currently as a part of a program I have, I serialize an object that is about 3 megs with no problem. I'm using a 1.4 JDK on Windows.

What do you mean by hang...does it fail or just never complete?
About | Sitemap | Contact