Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 66690 invoked from network); 29 Mar 2006 18:35:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Mar 2006 18:35:56 -0000 Received: (qmail 71930 invoked by uid 500); 29 Mar 2006 18:35:53 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 71890 invoked by uid 500); 29 Mar 2006 18:35:53 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 71879 invoked by uid 99); 29 Mar 2006 18:35:53 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Mar 2006 10:35:53 -0800 X-ASF-Spam-Status: No, hits=0.3 required=10.0 tests=MAILTO_TO_SPAM_ADDR X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [209.10.209.56] (HELO mail.spikesource.com) (209.10.209.56) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Mar 2006 10:35:52 -0800 Received: from [172.16.20.199] (missouri.spikesource.com [::ffff:172.16.20.199]) by mail.spikesource.com with esmtp; Wed, 29 Mar 2006 10:35:30 -0800 id 00359385.442AD372.00004ECA Message-ID: <442AD372.1010402@spikesource.com> Date: Wed, 29 Mar 2006 10:35:30 -0800 From: Calvin Austin User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050922 Fedora/1.7.12-1.3.1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@geronimo.apache.org Subject: Re: VM options to run Geronimo References: <442AA6C2.9090204@hogstrom.org> <442AAE21.9030603@apache.org> <8d7083ba0603290933p683e6314r3f21c8bf5a3125e6@mail.gmail.com> <8d7083ba0603290934v2e596041hb4a028579e7e5e12@mail.gmail.com> In-Reply-To: <8d7083ba0603290934v2e596041hb4a028579e7e5e12@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I think it really depends on how much memory you have, many of the specjbb/specjappserver results are run on 32bit machines with 4GB ram setting -Xmx2048m -Xms2048m is fine. As Matt points out there is more than one out of memory condition. From memory I think 1.4.2 server had a max permsize of 64mb so that is one candidate -XX:MaxPermSize=128m If you are using 1.4.2 hotspot you can also use the free visualgc tool. It will automatically detect a running jvm and show what the gc is doing http://java.sun.com/performance/jvmstat/ regards calvin Rajiv M wrote: > I mean -Xms=-Xmx is a bad setting > ~rajiv > > > On 3/29/06, *Rajiv M* > wrote: > > Hello, > -Xmx2048m -Xms2048m - this is a very bad setting. this will induce > fragmentation of java heap, which means heap will fail to allot > contiguous memory for a large object allocation (greater than 7 MB > is considered large). This would subsequently end in an OOM. > > Ideally -Xms256 and -Xmx1024 could be tried. > > ~rajiv > > On 3/29/06, *Jeff Genender* > wrote: > > Whew 2G of Memory!!! Nice!! > > Matt Hogstrom wrote: >> In the tests I'm running I use the following: >> >> java -server -Xmx2048m -Xms2048m -XX:-PrintTenuringDistribution >> -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintHeapAtGC > -jar >> /home/hogstrom/geronimo-1.0/bin/server.jar >> >> I have not played too much with tuning the tenuring for the > eden sizes. >> Do you have a stack trace indicating where you > failed? OutOfMemory >> could mean several things. >> >> Maxim Berkultsev wrote: >>> Hi, all! >>> >>> I'm trying to make some performance evaluations of Geronimo > with a >>> help of >>> JMeter. >>> >>> It has appeared relatively simple to get Geronimo out of > work. I've >>> tried to >>> load it with JMeter and a web primitive called >>> **PingServlet2MDBQueue** from >>> Daytrader bundle. I've created immediate load for 10 virtual > users and >>> unlimited number of requests. Within a minute or two > Geronimo stopped >>> responding to any request logging to console something like >>> ... >>> 18:32:56,180 WARN [ThreadedServer] EXCEPTION >>> java.lang.OutOfMemoryError >>> 18:32:57,211 WARN [ThreadedServer] EXCEPTION >>> java.lang.OutOfMemoryError >>> ... >>> >>> Has someone used any specific VM options to run Geronimo > smoothly? (As >>> for >>> me I've tried starting Geronimo with Java 1.4.2 Hotspot(TM) > VM with >>> -server >>> option enabled). >>> >>> Any advice or reference could be helpful. Thank you. >>> -- >>> Best regards, >>> Maxim Berkultsev, Intel Middleware Products Division >>> > > > > > -- > ~~~Truth is out there.~~~ > > > > > -- > ~~~Truth is out there.~~~