users@glassfish.java.net

GF 3.1.1 (b12) ... out-of-memory exception can not start domain anymore

From: Bernhard Thalmayr <bernhard.thalmayr_at_painstakingminds.com>
Date: Mon, 7 Nov 2011 12:57:21 +0100

Hi experts,

also the applications are NOT deployed to the 'default-server' but within
stand-alone instances I NOW do get the following exception when trying to
start the 'DAS'.

Waiting for test to start
............................................Exception in thread
"dld-StderrDrainer" java.lang.OutOfMemoryError: Java heap space
        at java.util.Arrays.copyOf(Arrays.java:2367)
        at
java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:130)
        at
java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:114)
        at
java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:415)
        at java.lang.StringBuilder.append(StringBuilder.java:132)
        at
com.sun.enterprise.universal.process.ProcessStreamDrainerWorker.run(ProcessStreamDrainerWorker.java:79)
        at java.lang.Thread.run(Thread.java:722)

I have no clue which configuration change may have caused this :-(

Any pointers available?

TIA,
Bernhard