From owner-freebsd-java Tue Dec 8 22:57:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA11061 for freebsd-java-outgoing; Tue, 8 Dec 1998 22:57:10 -0800 (PST) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from internetdevices.com (idi-fk-gw.abhiweb.com [205.138.236.250]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA11056 for ; Tue, 8 Dec 1998 22:57:09 -0800 (PST) (envelope-from iyer@internetdevices.com) Received: from internetdevices.com (localhost [127.0.0.1]) by internetdevices.com (8.8.7/8.8.7) with ESMTP id WAA11443; Tue, 8 Dec 1998 22:51:52 -0800 (PST) Message-ID: <366E1D76.592EA20A@internetdevices.com> Date: Tue, 08 Dec 1998 22:49:26 -0800 From: Mahadevan Iyer Organization: Internet Devices X-Mailer: Mozilla 4.05 [en] (Win95; U) MIME-Version: 1.0 To: Archie Cobbs CC: nate@mt.sri.com, freebsd-java@FreeBSD.ORG, iyer@internetdevices.com Subject: Re: Possible Bug in JVM Garbage Collection of Threads References: <199812090211.SAA11531@bubba.whistle.com> Content-Type: multipart/mixed; boundary="------------DFEE857117809ECBADE5A8BD" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multi-part message in MIME format. --------------DFEE857117809ECBADE5A8BD Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Archie Cobbs wrote: > Mahadevan Iyer writes: > > FreeBSD JVM version : 1.1.7 > > This code causes the Resident memory size of the java process to continously > > grow > > You can see this if you run "top" on freeBSD > > It will eventually given an OutOfMemoryError > > > > If you throw in the socket code, it will give a "recursive malloc()" error > > To trigger this error there has to be a client that continuously tries to > > connect to the server > > This problem seems to be an result of the previous problem, however this > > causes our server to die. > > Wow.. a case where JDK breaks and kaffe doesn't :-) kaffe doesn't seem to grow in size but dies when I uncomment the socket codeand test it with connections ---------------------------------------------------------- kaffe.util.Deprecated at java/lang/Throwable.(24) at java/lang/Error.(17) at kaffe/util/Deprecated.(16) at java/lang/Thread.stop(159) at TSock.main(11) ---------------------------------------------------------- > > > > -Archie > > ___________________________________________________________________________ > Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com --------------DFEE857117809ECBADE5A8BD Content-Type: text/x-vcard; charset=us-ascii; name="vcard.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Mahadevan Iyer Content-Disposition: attachment; filename="vcard.vcf" begin: vcard fn: Mahadevan Iyer n: Iyer;Mahadevan org: Internet Devices email;internet: iyer@internetdevices.com title: Principal Architect x-mozilla-cpt: ;0 x-mozilla-html: FALSE version: 2.1 end: vcard --------------DFEE857117809ECBADE5A8BD-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message