Jenkins on Websphere 8.5 - out of memory (heap)

2016-09-19 Thread Tomáš Mrázek
So I installed 2.7.4 on Websphere 8.5.5.9. I'm running job with a maven build. Everything is fine, ear is created, but after that Jenkins stucks and throws Heap error (while creating enviroment variables like JENKINS_HOME). FATAL: ...java.lang.OutOfMemoryError

Re: Jenkins on Websphere 8.5 - out of memory (heap)

2016-09-19 Thread Tomáš Mrázek
There must be something wrong between native method ang getting env variables from WAS. Dne pondělí 19. září 2016 21:03:14 UTC+2 Baptiste Mathus napsal(a): > > What's the Xmx value for that Websphere? Which JDK version, and so on? > > 2016-09-19 17:15 GMT+02:00 Tomáš Mrázek >:

Re: Jenkins on Websphere 8.5 - out of memory (heap)

2016-09-21 Thread Tomáš Mrázek
300kb is not much, but if you look at the implementation of the called method https://github.com/kohsuke/winp/blob/master/src/main/java/org/jvnet/winp/WinProcess.java ,I got heap exception at line 144. The method creates substrings in loop string lenght > 0. So theoretically after each iterati