Guest_imported
New member
- Jan 1, 1970
- 0
Hi,
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
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