High memory usage by Java process

8 views
Skip to first unread message

David Aldrich

unread,
Dec 3, 2020, 7:37:43 AM12/3/20
to jenkins...@googlegroups.com
Hi

I have a Centos 7 Jenkins agent. 'top' shows that Jenkins is running a Java process on it (as expected) but shows 22GB Virtual Memory allocated to that process. Seems very high, is that reasonable?

Best regards
David

Björn Pedersen

unread,
Dec 3, 2020, 7:39:46 AM12/3/20
to Jenkins Users
Unless configured otherwise, the agent processes inherit the options from the controller, so this high VM may happen.

Björn

Björn Pedersen

unread,
Dec 3, 2020, 7:41:12 AM12/3/20
to Jenkins Users
Check the advanced settings for  the agent at least ssh agents allow custom JVM options there.

David Aldrich

unread,
Dec 3, 2020, 7:42:41 AM12/3/20
to jenkins...@googlegroups.com
What would be a recommended setting?

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/1a99e250-68fd-4d96-867a-a2fdbd845257n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages