Memory leak with Sockets?
Stanley Brown
stanley.brown13@verizon.net
Wed Oct 29 02:17:00 GMT 2003
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. Ive tried
Mohan's GCC/GCJ 3.3 and 3.4 versions and had the same result. I havent
had much time to test this but I dont think the opening and closing of
the Sockets is causing the issue as much as reading and writing on
them. Any help would be appreciated.
More information about the Java
mailing list