title: Simple Java chat client uses more memory whenever a new message comes
body: <p>We're writing a simple chat server/client with 2 of my friends(all of us are new programmers). Last night when we run our first running release, and we realized that our client is using more memory whenever a new message comes(I tried it with and without gui and in both situations it still uses more memory with new messages).</p>
  
  <p>You can inspect our code at <a href="https://github.com/osa1/simple-chat" rel="nofollow">https://github.com/osa1/simple-chat</a> . Run Server and then Client to test.</p>
  
  <p>I'm using XChat for IRC, and after thousands of lines of text, it still uses same amount of memory. We are trying to make our app like this. We need advices about our code and memory problem.</p>
  
  <p>Thanks and sorry for my english.</p>