Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 34149 invoked from network); 29 Mar 2006 17:33:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Mar 2006 17:33:59 -0000 Received: (qmail 64323 invoked by uid 500); 29 Mar 2006 17:33:56 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 64261 invoked by uid 500); 29 Mar 2006 17:33:56 -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 64249 invoked by uid 99); 29 Mar 2006 17:33:55 -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 09:33:55 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of rmadassery77@gmail.com designates 64.233.184.229 as permitted sender) Received: from [64.233.184.229] (HELO wproxy.gmail.com) (64.233.184.229) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Mar 2006 09:33:55 -0800 Received: by wproxy.gmail.com with SMTP id 50so229245wri for ; Wed, 29 Mar 2006 09:33:34 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=mqojd6NAlp4QTuqDZf8hOCIEIPgJyJ/Hb795Hh1tI086Qm9R79tANFV2q5iNQQwjQryjRuU/fZxQt7Xlem6Z6pPkU5+B5jgJ7dMvHpgulMZv20n7+hzZs1CkAZAQFb6q1hTKVBGVPDLSgRdVJunpGZ0huSlub+HtRs71oYdAE+w= Received: by 10.54.130.14 with SMTP id c14mr984790wrd; Wed, 29 Mar 2006 09:33:34 -0800 (PST) Received: by 10.54.119.4 with HTTP; Wed, 29 Mar 2006 09:33:34 -0800 (PST) Message-ID: <8d7083ba0603290933p683e6314r3f21c8bf5a3125e6@mail.gmail.com> Date: Wed, 29 Mar 2006 23:03:34 +0530 From: "Rajiv M" To: dev@geronimo.apache.org, jgenender@apache.org Subject: Re: VM options to run Geronimo In-Reply-To: <442AAE21.9030603@apache.org> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_5555_6923922.1143653614162" References: <442AA6C2.9090204@hogstrom.org> <442AAE21.9030603@apache.org> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_5555_6923922.1143653614162 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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.~~~ ------=_Part_5555_6923922.1143653614162 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
Hello,
-Xmx2048m -Xms2048m - this is a very bad setting. this will induce fra= gmentation of java heap, which means heap will fail to allot contiguous mem= ory 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 <jgenender@apa= che.org> wrote:
Whew 2G of Memory!!! Nice!!
<= br>Matt Hogstrom wrote:
> In the tests I'm running I use the followin= g:
>
> java -server -Xmx2048m -Xms2048m -XX:-PrintTenuringDistrib= ution
> -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 Berkul= tsev wrote:
>> Hi, all!
>>
>> I'm trying to make= some performance evaluations of Geronimo with a
>> help of
>> JMeter.
>>
>> It has app= eared 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 u= sers and
>> unlimited number of requests. Within a minute or two G= eronimo stopped
>> responding to any request logging to console so= mething like
>> ...
>> 18:32:56,180 WARN [ThreadedServer] EXCEPTION>> java.lang.OutOfMemoryError
>> 18:32:57,211 WARN [Thread= edServer] EXCEPTION
>> java.lang.OutOfMemoryError
>> ...
>>
>> Has someone used any specific VM options to run Ge= ronimo smoothly? (As
>> for
>> me I've tried starting Ger= onimo with Java 1.4.2 Hotspot(TM) VM with
>> -server
>> o= ption enabled).
>>
>> Any advice or reference could be helpful. Thank yo= u.
>> --
>> Best regards,
>> Maxim Berkultsev, I= ntel Middleware Products Division
>>



--
~~~Truth is out there.~~~=20 ------=_Part_5555_6923922.1143653614162--