Jenkins is a Java application, and Java applications typically do not have a deterministic memory behaviour. You really cannot say anything with a single login/logout cycle. If you keep seeing the memory consumption increase after an extended period of time with many login/logout cycles, then you can start worrying about possible memory issues. In addition, if you are concerned with ~ 2GB memory usage in Jenkins, then you are looking at the wrong product. But I doubt you will find anything more streamlined anyway. Most continuous integration systems are built on Java, or Python or similar, and these tend to all be hogs when it comes to memory consumption. In principle it does not have to be like that. But the reality is that most languages and systems encourage bloat nowadays.
Cheers Artur ________________________________________ From: jenkinsci-users@googlegroups.com <jenkinsci-users@googlegroups.com> on behalf of Yang, Bruce (NSB - CN/Hangzhou) <bruce.y...@nokia-sbell.com> Sent: 13 November 2017 03:04:49 To: jenkinsci-users@googlegroups.com Cc: Yang, Bruce (NSB - CN/Hangzhou) Subject: About the Memory Consumption Issue of Jenkins Hi, Jenkins Engineer, I am a new Jenkins user from the corporation of Nokia china. There is a question when I use the Jenkins software and don’t know how to solve it. I also find the answer via searching web, reading the manual, etc. so I hope you can give me some helps if it is convenient to you. Question description: Ø I have already complete the installation of Jenkins in the red hat Linux operating system(refer to this link: Installing Jenkins on Red Hat distributions<https://wiki.jenkins.io/display/JENKINS/Installing+Jenkins+on+Red+Hat+distributions>) and then start the Jenkins service. I execute the top command to find the memory consumption of this service, you can find the memory consumption is 2.2%, the result like the screenshot as below: [cid:image001.jpg@01D35C66.D4464170] Ø Sencond step, I logon the jenkins server in the web, the result as below screenshot shown: [cid:image002.jpg@01D35C66.D4464170] and then the service increase the memory consumption to 6.2%, the result as below screenshot shown: [cid:image003.jpg@01D35C66.D4464170] Ø Third step, I log out the jenkins service, but the consumption of this service does not demote yet. The result as below screenshot shown: [cid:image004.jpg@01D35C66.D4464170] So we can get a conclusion: u logging on jenkins, the memory consumption increase; u logging out jenkins, the memory consumption equal to logging on jenkins and does not demote yet. In my opinion or guess, when we logging out jenkins service, the memory consumption should demote, in fact it is not. I think it is a wasting to CPU memory when we do not use jenkins service yet. I am not sure whether I configre the jenkins service incorrect or I need more configuration, it’s confused to me. So I wish you can give a comments or correct configurations about this question. Thank you before! Best Regards! Bruce Yang ------------------------------ Prototyping SW Specialist Office: Building B, No.68 Dongxin Road, Binjiang District, Hangzhou, China Postcode: 310053 Mobile: +86-13738176232 Email: bruce.y...@nokia-sbell.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 jenkinsci-users+unsubscr...@googlegroups.com<mailto:jenkinsci-users+unsubscr...@googlegroups.com>. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/HE1PR07MB318052EBEB0221775FB5D864D22B0%40HE1PR07MB3180.eurprd07.prod.outlook.com<https://groups.google.com/d/msgid/jenkinsci-users/HE1PR07MB318052EBEB0221775FB5D864D22B0%40HE1PR07MB3180.eurprd07.prod.outlook.com?utm_medium=email&utm_source=footer>. For more options, visit https://groups.google.com/d/optout. -- 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-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/9b22a449b1ef494f8c3f740d8c63633b%40partner.eso.org. For more options, visit https://groups.google.com/d/optout.