java -XshowSettings:vm for the jenkins master

56 views
Skip to first unread message

LnT

unread,
Mar 30, 2018, 6:14:15 AM3/30/18
to Jenkins Users
Hi

jenkins master has been started with below command , where it contans 4GB RAM.
java -Xrs:Xmx2048m  -jar jenkins.war --httpPort=80  --sessionTimeout=360

In another command prompt : checked  vm setting like below using  "java -XshowSettings:vm"

Does this mean - java heap space gets 2GB or 247.5M as mentioned in above screenshot ?
If not 2GB then is there any way to increase the java heap space ?

Regards,
LnT

Auto Generated Inline Image 1

Daniel Beck

unread,
Mar 30, 2018, 7:22:03 AM3/30/18
to jenkins...@googlegroups.com

> On 30. Mar 2018, at 12:14, LnT <tlnar...@gmail.com> wrote:
>
> java -Xrs:Xmx2048m

I don't think this is valid, it looks like you just define an invalid value for -Xrs (which is a different option from -Xmx to begin with).

LnT

unread,
Mar 30, 2018, 8:21:52 AM3/30/18
to jenkins...@googlegroups.com
Hi Daniel,
Could you suggest valid argument for 4GB RAm

--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/wGj3cBpFQTs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/B54C0102-CC88-4D24-BE51-7245A1275AB9%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages