Re: [jetty-user] Confiigure JVM setting in Jetty standalone server

Rohit Reddy <[email protected]> Mon, 21 May 2012 19:34:04 +0530
Newsgroups gmane.comp.java.jetty.support
Message-ID <CAKg4JZQhSAJe5GMW816Y8SuKXURzx1g0ZXCaSa6_n9Pb6VPKmQ@mail.gmail.com>
Thanks Thomas, that worked.

On Mon, May 21, 2012 at 4:19 PM, Thomas Becker <[email protected]> wrote:

> Hi Rohit,
>
> if you start jetty by using "java -jar start.jar" you're already using a
> java commandline and thus you can specify any java commandline arg you
> like. For example: "java -Xms1024m -Xmx1024m -jar start.jar".
>
> Cheers,
> Thomas
>
>
> On Mon May 21 07:32:57 2012, Rohit Reddy wrote:
>
>> I'm trying to install a standalone jetty 7.6.3 server in CENTOS. I was
>> able successfully deploy and run a sample application with default
>> settings. Now i want to increase the JVM memory, that is set the Xmx
>> and Xms parameters. After reading through the documentation i have set
>> them in start.ini file. But this is not getting reflected when i start
>> the server. I have tried using --exec parameter in start.ini, but this
>> spawns a separate VM.
>>
>> I'm using java -jar start.jar to start the server
>>
>> How do i configure the JVM memory GC setting in a jetty standalone server
>>
>> Thanks
>>
>> Rohit
>>
>>
> --
> thomas becker
> [email protected]
>
> http://webtide.com / http://intalio.com
> (the folks behind jetty and cometd)
>