This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Memory leak with Sockets?


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]