Hi Vladimir,

actually is it the file jenkins.xml/respectively hudson.xml not
config.xml...

--- SNIP ---
  <executable>java</executable>
  <arguments>-Dhudson.DNSMultiCast.disabled=true -Xrs -Xmx256m -
Dhudson.lifecycle=hudson.lifecycle.WindowsServiceLifecycle -jar "%BASE%
\jenkins.war" --httpPort=8080</arguments>
--- SNAP ---

Question is here, does it make sense to put the heap size with -Xms to
512 megs. Puttimg the value too high will eventually result in the
exact opposite behaviour as wanted. I have one server running with
assigned memory of 21 gigabyte but the heap size is 256meg and running
fine. Bringing the heap size higher did result in performance loss and/
or even java to fail at runtime.

Take care
Jan

On 26 Mrz., 08:34, Vladimir Zak <zakvladi...@gmail.com> wrote:
> Hi,
>
> Thank you for a help but I am not able to find the any startup command
> for jenkis.
> Could you please add here the small snippet of xml file?
>
> Thanks.
>
> Vladimir
>
> 2012/3/25 Manuel Doninger <man...@doninger.net>:
>
>
>
>
>
>
>
> > In your Jenkins home directory there should be a file named config.xml.
> > In that file you can add configuration options for your service,
> > environment variables etc.
> > In the line with the startup command for Jenkins just add your parameters.
>
> > Regards,
> > Manuel
>
> > On Sun, Mar 25, 2012 at 18:00, Vladimir Zak <zakvladi...@gmail.com> wrote:
> >> Hi Richard,
>
> >> I have tried that but after computer restart the parameters were not
> >> there not at all :(
>
> >> Vladimir
>
> >> 2012/3/25 Richard Lavoie <lavoie.rich...@gmail.com>:
> >>> Can't you open the services panel (run -> services.msc) and change the 
> >>> service start command to add these 2 additionnal parameters ?
>
> >>> Richard
>
> >>> On 2012-03-25, at 08:17, zakyn <zakvladi...@gmail.com> wrote:
>
> >>>> Hello,
>
> >>>> I would like to ask you how to start jenkins service with increased
> >>>> java heap memory
> >>>> I would like to start jenkins with this java setting but my jenkins is
> >>>> running as a windows service.
>
> >>>> Is it possible to start jenkins service with these parameters -Xms512m
> >>>> -Xmx2048m ? Does it mean that java for jenkins will use this setting?
>
> >>>> Thank you for your help.
>
> >>>> Vladimir

Reply via email to