Allocate more memory to Jenkins whilst running hpi:run

38 views
Skip to first unread message

Mez Pahlan

unread,
Feb 8, 2020, 5:33:42 AM2/8/20
to Jenkins Developers
Hi there

I use hpi:run to give me a quick dev version of Jenkins with my plugin installed so that I can play around with it prior to committing changes. It works great! However I want to give it more memory so that it is more responsive and quicker to load pages. Is there a recommended way of doing this?

Thanks

Mark Waite

unread,
Feb 8, 2020, 6:42:22 AM2/8/20
to jenkinsci-dev
Does it help to run maven with the environment variable (per Java Heap Settings best practice and the Maven manual):

export MAVEN_OPTS="-Xms4g -Xmx4g"

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/b9806fc0-80ac-4265-a93d-e0b2b17bfe40%40googlegroups.com.

Mez Pahlan

unread,
Feb 8, 2020, 10:58:11 AM2/8/20
to Jenkins Developers
Thanks! Anecdotally that seems to help. I will give it some proper extended use and report back if it hasn't helped. For now it seems good. Thanks!


On Saturday, 8 February 2020 11:42:22 UTC, Mark Waite wrote:
Does it help to run maven with the environment variable (per Java Heap Settings best practice and the Maven manual):

export MAVEN_OPTS="-Xms4g -Xmx4g"

On Sat, Feb 8, 2020 at 3:33 AM Mez Pahlan <mez....@gmail.com> wrote:
Hi there

I use hpi:run to give me a quick dev version of Jenkins with my plugin installed so that I can play around with it prior to committing changes. It works great! However I want to give it more memory so that it is more responsive and quicker to load pages. Is there a recommended way of doing this?

Thanks

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkin...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages