From owner-freebsd-java@FreeBSD.ORG Thu Apr 13 04:39:36 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EF58116A402 for ; Thu, 13 Apr 2006 04:39:36 +0000 (UTC) (envelope-from freebsd@spatula.net) Received: from turing.morons.org (morons.org [64.147.161.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id A805F43D45 for ; Thu, 13 Apr 2006 04:39:36 +0000 (GMT) (envelope-from freebsd@spatula.net) Received: from localhost (localhost.morons.org [127.0.0.1]) by turing.morons.org (Postfix) with ESMTP id 539D517035; Wed, 12 Apr 2006 21:39:36 -0700 (PDT) Received: from turing.morons.org ([127.0.0.1]) by localhost (turing.morons.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 08064-06; Wed, 12 Apr 2006 21:39:35 -0700 (PDT) Received: by turing.morons.org (Postfix, from userid 1001) id 7D00B17034; Wed, 12 Apr 2006 21:39:35 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by turing.morons.org (Postfix) with ESMTP id 79D7F17033; Wed, 12 Apr 2006 21:39:35 -0700 (PDT) Date: Wed, 12 Apr 2006 21:39:35 -0700 (PDT) From: Nick Johnson X-X-Sender: spatula@turing To: "Marc G. Fournier" In-Reply-To: <20060413012044.A1096@ganymede.hub.org> Message-ID: <20060412213804.B54115@turing> References: <20060413012044.A1096@ganymede.hub.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: amavisd-new at morons.org Cc: freebsd-java@freebsd.org Subject: Re: memory leak with jdk 1.5.0 ... ? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Apr 2006 04:39:37 -0000 I'm not sure how/where resin3_flags gets handled, but in resin's httpd.sh, you have to add -J to any arguments you want passed to the JVM; eg, -J-Xmx256m in the "args" knob. Nick On Thu, 13 Apr 2006, Marc G. Fournier wrote: > > This could just be my misunderstanding, but I thought issuing: > > resin3_flags="-Djava.awt.headless=true -Xms32m -Xmx256m" > > was supposed to restrict the amount of memory that the process sucked back > ... but, right now its sucking back 1.5G of memory: > > USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND > www 471 0.0 3.0 1522000 61816 p5- SJ Tue06PM 1:33.47 > /usr/local/jdk1.5.0/bin/java > > Or am I mis-reading? > > The machien this is on is FreeBSD 6.x / amd64 ... I've seen similar on > FreeBSD 4.x / i386 also, with jdk 1.5.0 ... > > thx ... > > ---- > Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) > Email: scrappy@hub.org Yahoo!: yscrappy ICQ: 7615664 > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" > -- "Progress is impossible without change, and those who cannot change their minds cannot change anything." --George Bernard Shaw This message has been brought to you by Nick Johnson 2.1 and the number 6. http://healerNick.com/ http://morons.org/ http://spatula.net/