Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Hudson » "java.lang.OutOfMemoryError: Java heap space" while launching slave over ssh
"java.lang.OutOfMemoryError: Java heap space" while launching slave over ssh [message #905801] Fri, 31 August 2012 01:01 Go to previous message
Brian Cavagnolo is currently offline Brian Cavagnolo
Messages: 3
Registered: August 2012
Junior Member
Hello,

I've been using this linux slave node for quite some time. But suddenly I get an OOM error when I attempt to launch the slave (see below). Notably, I have an identical slave that seems to be working just fine. Any thoughts or debugging tips?

Thanks,
Brian

[08/30/12 21:56:15] [SSH] Opening SSH connection to riyadh:22.
[08/30/12 21:56:15] [SSH] Authenticating as hudson/******.
[08/30/12 21:56:15] [SSH] Authentication successful.
[08/30/12 21:56:15] [SSH] The remote users environment is:
BASH=/bin/bash
BASHOPTS=cmdhist:extquote:force_fignore:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath
BASH_ALIASES=()
BASH_ARGC=()
BASH_ARGV=()
BASH_CMDS=()
BASH_EXECUTION_STRING=set
BASH_LINENO=()
BASH_SOURCE=()
BASH_VERSINFO=([0]="4" [1]="2" [2]="24" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu")
BASH_VERSION='4.2.24(1)-release'
DIRSTACK=()
EUID=2002
GROUPS=()
HOME=/home/hudson
HOSTNAME=riyadh
HOSTTYPE=x86_64
IFS=$' \t\n'
LANG=en_US.UTF-8
LOGNAME=hudson
MACHTYPE=x86_64-pc-linux-gnu
MAIL=/var/mail/hudson
OPTERR=1
OPTIND=1
OSTYPE=linux-gnu
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
PIPESTATUS=([0]="0")
PPID=7066
PS4='+ '
PWD=/home/hudson
SHELL=/bin/bash
SHELLOPTS=braceexpand:hashall:interactive-comments
SHLVL=1
SSH_CLIENT='169.229.130.76 48992 22'
SSH_CONNECTION='169.229.130.76 48992 169.229.130.90 22'
TERM=dumb
UID=2002
USER=hudson
XDG_SESSION_COOKIE=39710d5371497900693104820000032c-1346388888.763341-1638202249
_=']'
[08/30/12 21:56:15] [SSH] Checking java version of java
[08/30/12 21:56:15] [SSH] java -version returned 1.7.0_06.
[08/30/12 21:56:15] [SSH] Starting sftp client.
[08/30/12 21:56:15] [SSH] Copying latest slave.jar...
[08/30/12 21:56:15] [SSH] Copied 236,330 bytes.
[08/30/12 21:56:15] [SSH] Starting slave process: cd '/var/hudson' && java -jar slave.jar
<===[HUDSON REMOTING CAPACITY]===>java.io.IOException: Remote call on riyadh failed
at hudson.remoting.Channel.call(Channel.java:659)
at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:326)
at hudson.plugins.sshslaves.SSHLauncher.startSlave(SSHLauncher.java:383)
at hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:203)
at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:194)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:679)
Caused by: java.lang.OutOfMemoryError: Java heap space
[08/30/12 21:56:16] [SSH] Connection closed.
ERROR: Connection terminated
java.io.IOException: Unexpected termination of the channel
at hudson.remoting.Channel$ReaderThread.run(Channel.java:1030)
Caused by: java.io.EOFException
at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2570)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1314)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:368)
at hudson.remoting.Channel$ReaderThread.run(Channel.java:1024)
ERROR: [08/30/12 21:56:16] slave agent was terminated
java.io.IOException: Unexpected termination of the channel
at hudson.remoting.Channel$ReaderThread.run(Channel.java:1030)
Caused by: java.io.EOFException
at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2570)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1314)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:368)
at hudson.remoting.Channel$ReaderThread.run(Channel.java:1024)
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:LDAP roles as parameters to scripts
Next Topic:Hudson instance stopped unexpectly
Goto Forum:
  


Current Time: Thu May 23 01:46:30 EDT 2013

Powered by FUDForum. Page generated in 0.05301 seconds