High memory usage by Java process

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

High memory usage by Java process

David Aldrich-3
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

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAJK_ieivsjFDOed%2BOatzy7trgzxv%2BaJJtix2AN-2%2B54ZsoY0-A%40mail.gmail.com.
Reply | Threaded
Open this post in threaded view
|

Re: High memory usage by Java process

Björn Pedersen
Unless configured otherwise, the agent processes inherit the options from the controller, so this high VM may happen.

Björn

DavidA schrieb am Donnerstag, 3. Dezember 2020 um 13:37:43 UTC+1:
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

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/36786ccd-a415-40d8-a94a-cc2369698321n%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: High memory usage by Java process

Björn Pedersen
Check the advanced settings for  the agent at least ssh agents allow custom JVM options there.

Björn Pedersen schrieb am Donnerstag, 3. Dezember 2020 um 13:39:46 UTC+1:
Unless configured otherwise, the agent processes inherit the options from the controller, so this high VM may happen.

Björn

DavidA schrieb am Donnerstag, 3. Dezember 2020 um 13:37:43 UTC+1:
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

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/1a99e250-68fd-4d96-867a-a2fdbd845257n%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: High memory usage by Java process

David Aldrich-3
What would be a recommended setting?

On Thu, Dec 3, 2020 at 12:41 PM 'Björn Pedersen' via Jenkins Users <[hidden email]> wrote:
Check the advanced settings for  the agent at least ssh agents allow custom JVM options there.

Björn Pedersen schrieb am Donnerstag, 3. Dezember 2020 um 13:39:46 UTC+1:
Unless configured otherwise, the agent processes inherit the options from the controller, so this high VM may happen.

Björn

DavidA schrieb am Donnerstag, 3. Dezember 2020 um 13:37:43 UTC+1:
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

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/1a99e250-68fd-4d96-867a-a2fdbd845257n%40googlegroups.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAJK_ieiVkm6xw80mrfT3mzHffOSMH3Ufk%3DHs3kR0QDJdaeKWRA%40mail.gmail.com.