The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
December 2000



This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.


Memory leaks

Posted by DarkieDuck on December 19, 2000 at 6:11 AM


I have created a little chat application but I have a problem with it. I think it's leaking memory.

I use a loop to read all the data that the clients send me (With inStream.readUTF() )

I don't created new objects so I don't know WHY it's allocating new memory every time it get a msg from a client.

Anyone has an idear??

Thnx in advance


Sponsored Links

Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us