From owner-freebsd-java@FreeBSD.ORG Wed Sep 19 20:00:17 2007 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E6E416A419 for ; Wed, 19 Sep 2007 20:00:17 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5B6CF13C480 for ; Wed, 19 Sep 2007 20:00:17 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l8JK0Hlw057515 for ; Wed, 19 Sep 2007 20:00:17 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l8JK0HWi057513; Wed, 19 Sep 2007 20:00:17 GMT (envelope-from gnats) Date: Wed, 19 Sep 2007 20:00:17 GMT Message-Id: <200709192000.l8JK0HWi057513@freefall.freebsd.org> To: freebsd-java@FreeBSD.org From: Nick Johnson Cc: Subject: Re: java/116461: java.lang.OutOfMemoryError: PermGen space X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Nick Johnson List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Sep 2007 20:00:17 -0000 The following reply was made to PR java/116461; it has been noted by GNATS. From: Nick Johnson To: Rafael Bascon Barrera Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: java/116461: java.lang.OutOfMemoryError: PermGen space Date: Wed, 19 Sep 2007 12:17:30 -0700 (PDT) The option works for me. It has to be given on the java command line before the class name. Since you haven't provided any other context (e.g., what you're running when this happens) it's impossible to guess where you might need to configure the -XX:MaxPermSize option... ...but it does work. I use it myself. Nick On Wed, 19 Sep 2007, Rafael Bascon Barrera wrote: > We couldn't solve the problem by doing what you told us. > The option "*java -XX:MaxPermSize*=64m" doesn't exist. > You can see the attached file for more details. -- "Courage isn't just a matter of not being frightened, you know. It's being afraid and doing what you have to do anyway." Doctor Who - Planet of the Daleks This message has been brought to you by Nick Johnson 2.3b1 and the number 6. http://healerNick.com/ http://morons.org/ http://spatula.net/