Hello, I installed 1.560 the other day and I have seen a few of the following exceptions when building my (rather large) matrix builds:
00:12:32.091 FATAL: hudson.remoting.RequestAbortedException: java.io.IOException: Unexpected reader termination 00:12:32.130 hudson.remoting.RequestAbortedException: hudson.remoting.RequestAbortedException: java.io.IOException: Unexpected reader termination 00:12:32.810 at hudson.remoting.RequestAbortedException.wrapForRethrow(RequestAbortedException.java:41) 00:12:32.810 at hudson.remoting.RequestAbortedException.wrapForRethrow(RequestAbortedException.java:34) 00:12:32.810 at hudson.remoting.Request.call(Request.java:174) 00:12:32.810 at hudson.remoting.Channel.call(Channel.java:738) 00:12:32.810 at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:168) 00:12:32.810 at com.sun.proxy.$Proxy73.join(Unknown Source) 00:12:32.810 at hudson.Launcher$RemoteLauncher$ProcImpl.join(Launcher.java:951) 00:12:32.810 at hudson.tasks.CommandInterpreter.join(CommandInterpreter.java:137) 00:12:32.810 at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:97) 00:12:32.810 at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:66) 00:12:32.810 at org.jenkins_ci.plugins.run_condition.BuildStepRunner$2.run(BuildStepRunner.java:110) 00:12:32.810 at org.jenkins_ci.plugins.run_condition.BuildStepRunner$Fail.conditionalRun(BuildStepRunner.java:154) 00:12:32.810 at org.jenkins_ci.plugins.run_condition.BuildStepRunner.perform(BuildStepRunner.java:105) 00:12:32.810 at org.jenkinsci.plugins.conditionalbuildstep.singlestep.SingleConditionalBuilder.perform(SingleConditionalBuilder.java:108) 00:12:32.810 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) 00:12:32.810 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:740) 00:12:32.810 at hudson.model.Build$BuildExecution.build(Build.java:198) 00:12:32.810 at hudson.model.Build$BuildExecution.doRun(Build.java:159) 00:12:32.810 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:519) 00:12:32.810 at hudson.model.Run.execute(Run.java:1703) 00:12:32.810 at hudson.matrix.MatrixRun.run(MatrixRun.java:146) 00:12:32.810 at hudson.model.ResourceController.execute(ResourceController.java:88) 00:12:32.810 at hudson.model.Executor.run(Executor.java:231) 00:12:32.810 Caused by: hudson.remoting.RequestAbortedException: java.io.IOException: Unexpected reader termination 00:12:32.810 at hudson.remoting.Request.abort(Request.java:299) 00:12:32.810 at hudson.remoting.Channel.terminate(Channel.java:801) 00:12:32.810 at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:76) 00:12:32.810 Caused by: java.io.IOException: Unexpected reader termination 00:12:32.810 ... 1 more 00:12:32.810 Caused by: java.lang.OutOfMemoryError: Java heap space 00:12:32.810 at java.util.Arrays.copyOf(Arrays.java:2271) 00:12:32.810 at java.io.ByteArrayOutputStream.grow(ByteArrayOutputStream.java:113) 00:12:32.810 at java.io.ByteArrayOutputStream.ensureCapacity(ByteArrayOutputStream.java:93) 00:12:32.810 at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:140) 00:12:32.810 at hudson.remoting.FlightRecorderInputStream.read(FlightRecorderInputStream.java:87) 00:12:32.810 at hudson.remoting.ChunkedInputStream.read(ChunkedInputStream.java:46) 00:12:32.810 at hudson.remoting.ChunkedInputStream.readUntilBreak(ChunkedInputStream.java:88) 00:12:32.810 at hudson.remoting.ChunkedCommandTransport.readBlock(ChunkedCommandTransport.java:33) 00:12:32.810 at hudson.remoting.AbstractSynchronousByteArrayCommandTransport.read(AbstractSynchronousByteArrayCommandTransport.java:34) 00:12:32.810 at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48) I have tried to up the heap space both on the master node and on the slaves. I have currently given the master over 8GB of Heap Space and the Slaves around the same, but this still happens from time to time. First question, is this running out of memory on the master node or on the slaves? Secondly, should a matrix build with ~15 builds really use this much memory? Should I just up the heap space on the master node until it goes away or is there some code that have recently changed the memory usage? Thanks, Tobias -- 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. For more options, visit https://groups.google.com/d/optout.