robbat2: (Default)
[personal profile] robbat2
ObjectOutputStream oos = new ObjectOutputStream(...);
...
write lots of objects to the ObjectOutputStream.
...

get OutOfMemory exception :-(.

ObjectOutputStream keeps a record of every object it has seen, and thus prevents the object from being garbage-collected, even when you ARE done with it.

(no subject)

Date: 2005-03-31 09:50 am (UTC)
From: [identity profile] amethest.livejournal.com
Run 10: Turns Robbat2 into a very small shell script
Run 20: Makes multiple copies of very small shell script
Run 30: Scatters copies over Amethest's virtual bed
Run 40: Rolls around and tickles and cuddles very small shell script copies

/me sigh.

POST SOMETHING REAL!

May 2017

S M T W T F S
 123456
78910111213
141516171819 20
21222324252627
28293031   

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags