Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 65057 invoked from network); 5 May 2008 18:54:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 May 2008 18:54:18 -0000 Received: (qmail 75683 invoked by uid 500); 5 May 2008 18:54:19 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 75452 invoked by uid 500); 5 May 2008 18:54:18 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 75441 invoked by uid 99); 5 May 2008 18:54:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 May 2008 11:54:18 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jaydmchugh@gmail.com designates 64.233.166.180 as permitted sender) Received: from [64.233.166.180] (HELO py-out-1112.google.com) (64.233.166.180) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 May 2008 18:53:32 +0000 Received: by py-out-1112.google.com with SMTP id a25so1283006pyi.11 for ; Mon, 05 May 2008 11:53:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; bh=9z5p9GLb0turdGFUJ29d8tr//6sH+Amk1a6pxEXmP80=; b=YLSWac2NGUESpSAG9ZpqPlf92ydhuuZHsTu7YUwAY8+rFLP1eh/UscdMLvPfrLhs8d0MuwRkQ6mhBS/usLOrg7J0/Ubpb7C9fzO9idZ5JkiCrY8h8qR3LZIdxe64Sxf24TR3fDn+q46ex5JWWID33p0BiLevAHgdaKFFEIYS63c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; b=lViRF1eh+A0b4cPRh52Un3gNHqMerHBi+gyxh0ttgABF0OEutluREos+xNNw9OYdup8fsPpJH85049tu5z23PwMonLB0O+Q7KOJpaV2jrEar0VrYVN8ZAsBNvTZHVqxapIbiI0hrIwaHoVFdWVWZlxsmzDeyI+theUaLcvryt9s= Received: by 10.35.38.17 with SMTP id q17mr11975543pyj.18.1210013626054; Mon, 05 May 2008 11:53:46 -0700 (PDT) Received: from ?172.16.3.2? ( [66.84.139.198]) by mx.google.com with ESMTPS id a22sm9778794pye.33.2008.05.05.11.53.44 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 05 May 2008 11:53:45 -0700 (PDT) Message-ID: <481F57D4.40801@gmail.com> Date: Mon, 05 May 2008 13:54:12 -0500 From: "Jay D. McHugh" User-Agent: Thunderbird 2.0.0.9 (X11/20071031) MIME-Version: 1.0 To: user@geronimo.apache.org Subject: Re: java.lang.OutOfMemoryError: PermGen space References: <17020962.post@talk.nabble.com> <481AE43F.6030309@gmail.com> <17061650.post@talk.nabble.com> In-Reply-To: <17061650.post@talk.nabble.com> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org The default JVM parameters that are set up in the eclipse.ini file are: -showsplash org.eclipse.platform -vmargs -Xms40m -Xmx256m Those are too small for working with Geronimo and don't specify a permgen space at all. Because of that, I think the permgen size that gets set up is only 64 meg. There are not really 'recommended' sizes because requirements vary depending on whether you are in development or production and the size/type of applications you are running. But, if you increase the heap size (-Xmx512m and -Xmx1024m are the two sizes I usually pick between) and specify a permgen size (-XX:MaxPermSize=256m is what I use) then that should take care of your errors. Others on the list wil be able to give you better hints on how to tune your memory. Hope that helps, Jay filosofisto wrote: > I'm starting "geronimo-tomcat6-jee5-2.0.1" from Eclipse 3.3.1.1, and I did > not any aditional configuration. > > > Jay D. McHugh-3 wrote: >> Which version of Geronimo are you using and what command are you using >> to start it? >> >> Jay >> >> filosofisto wrote: >>> Hi all, >>> >>> we are developing an application using these tecnologies: >>> >>> - JSF1.2 (MyFaces) >>> - EJB3 >>> - JPA >>> - RichFaces 3.2 >>> >>> Well, frequentally we are receiving an OutOfMemoryError (PermGen space), >>> and >>> must restart geronimo. >>> >>> Anybody can help us? >>> >>> Thanks a lot >> >