users@glassfish.java.net

Exception in thread "domain1-StderrDrainer" java.lang.OutOfMemoryError: Java

From: <forums_at_java.net>
Date: Sat, 4 Jun 2011 02:33:03 -0500 (CDT)

Hi ,

  From time to time i get this error , and it makes the server hangs and need
to restart the domain 

My environment : 

Win 2000 server , Glassfish v3.0.1 , My heap size is : -Xmx1024m 

Exception in thread "domain1-StderrDrainer" java.lang.OutOfMemoryError: Java
heap space

t java.util.Arrays.copyOf(Arrays.java:2882)

t
java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:100)

t java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:390)

t java.lang.StringBuilder.append(StringBuilder.java:119)

t
com.sun.enterprise.universal.process.ProcessStreamDrainerWorker.run(ProcessStreamDrainerWorker.java:75)

 

Any recommendations ?

 


--
[Message sent by forum member 'sshehab']
View Post: http://forums.java.net/node/809249