Memory leak with Sockets?

Bryce McKinlay bryce@mckinlay.net.nz
Wed Oct 29 02:54:00 GMT 2003


On Oct 29, 2003, at 3:17 PM, Stanley Brown wrote:

> I have a program that is opening and closing a Socket hundreds of 
> times sending small amounts of information back and forth from a 
> remote server.  Works great with the Sun JRE.  But the same app, 
> compiled with GCJ, consumes an ever increasing amount of memory every 
> second its running until it eventually crashes due to lack of memory.

Can you make a small test case?

Regards

Bryce.




More information about the Java mailing list