Jenkins consistenly going out of memory after a few days

24 views
Skip to first unread message

MaQy

unread,
Nov 6, 2015, 1:27:10 PM11/6/15
to Jenkins Users

Hi,

We have been suffering out of memory issues for some weeks now and we have no clue what can cause them. Above you can find memory and CPU usage in the last month. Every big drop is a restart of the server. I don't exactly know when this started to happen but it wasn't specially after an update as far as I can recall. I generated a heapdump and found nothing (though I was not sure what I had to look for), just that almost all the memory was occupied by byte arrays. Tthere are no relevant errors in the logs either. Can you please help me to know what can be causing this?

Thanks in advance.




MaQy

unread,
Nov 6, 2015, 1:32:51 PM11/6/15
to Jenkins Users
Sorry, I forgot to share my instance details:

OS: OS Windows Server 2008 R2, Service Pack 1, amd64/64 (4 cores)
Java: Java(TM) SE Runtime Environment, 1.7.0_79-b15
JVM: Java HotSpot(TM) 64-Bit Server VM, 24.79-b02, mixed mode
Jenkins Version:
1.635
Server: Server jetty/winstone-2.8


















Baptiste Mathus

unread,
Nov 9, 2015, 5:28:00 PM11/9/15
to jenkins...@googlegroups.com

Hi,
What you need to do is a memory analysis. Do a heapdump and import it for example in a tool like eclipse mat. Or simply use the memory profiler included with jvisualvm.

Cheers

--
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/36072ef9-6938-4765-864f-ac858010cbb2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Slide

unread,
Nov 9, 2015, 5:44:26 PM11/9/15
to jenkins...@googlegroups.com

Are you using job DSL? I had issues until upgraded to a newer version of job DSL.


Reply all
Reply to author
Forward
0 new messages