hi yoav,

have you tried java.io.ObjectOutputStream.reset()?

uli




                                                                                       
                                                
                      "Shapira, Yoav"                                                  
                                                
                      <[EMAIL PROTECTED]        An:       "Tomcat Users List" <[EMAIL 
PROTECTED]>                          
                      .com>                    Kopie:                                  
                                                
                                               Thema:    [OFF-TOPIC] 
ObjectOutputStream keeping handles                                
                      16.01.04 18:01                                                   
                                                
                      Bitte antworten                                                  
                                                
                      an "Tomcat Users                                                 
                                                
                      List"                                                            
                                                
                                                                                       
                                                
                                                                                       
                                                





Howdy,
Has anyone bumped into an issue where java.io.ObjectOutputStream keep
references to serialized objects until the stream is closed, thereby
preventing the objects from being garbage-collected?  I know I can get
around this by closing and reopening the stream after every write, but
that seems to be a high-overhead approach.  Any other ideas?
writeUnshared() perhaps?

Yoav Shapira
Millennium ChemInformatics





This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential,
proprietary and/or privileged.  This e-mail is intended only for the
individual(s) to whom it is addressed, and may not be saved, copied,
printed, disclosed or used by anyone else.  If you are not the(an) intended
recipient, please immediately delete this e-mail from your computer system
and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]







---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to