Is there a limit on size of the Vector that is to be serialized ? I had a problem when
sending Vector of size more than 4MB. I had put Strings of size less than 64K into the
Vector. Does any body know about it?

Ravi

Kevin Mukhar wrote:

> Ravi Sankar Pabbati wrote:
> >
> > I don't understand why there has to be a restriction on the size limit (64K) of the
> > String that is to be serialized. The problem comes when we try to serialize it, can
> > a String contain more than 64K characters.
>
> 64K BYTES.
>
> The restriction is imposed by the Java core API class DataOutputStream. If you
> do not serialize, or you write your own serialization mechanism, then there will
> not be a 64K byte limit.
>
> K Mukhar
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

--
______________________________________________________________
Ravi Sankar Pabbati,
Wipro GE Medical Systems,
A-1, Golden Enclave, Airport Road, Bangalore,
India - 560 017.
Tel : (91)-(80)-5263121 ext 344 ; Fax :  (91)-(80)-5263520
Visit us on the Internet :  http://www.gemedicalsystems.com
http://www.wiproge.com

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to