I encountered this problem 3-4 years ago. According to Sun this is by design.
ObjectOutputStream keeps the handles of all objects until you execute a reset() or
close the stream.
Unfortunately, if you don't do one of these things you end up with a memory leak
because the objects are never
, January 19, 2004 9:00 AM
To: [EMAIL PROTECTED]
Subject: RE: Antwort: [OFF-TOPIC] ObjectOutputStream keeping handles
I encountered this problem 3-4 years ago. According to Sun this is by
design. ObjectOutputStream keeps the handles of all objects until you
execute a reset() or close the stream