3 Replies Latest reply on Dec 7, 2012 6:07 AM by Ashok Kumar

    Exception in thread "management-client-thread 1-2" java.lang.OutOfMemoryError: Java heap space

    Ashok Kumar Newbie

      Hai ,

              I am using Ecilipse IDE working on application which involves GWT and Errai, i get struck with this error while deploying on JBoss AS 7 server. Till day ,there is no such problem and suddenly this exception appears .. Any one , please guide me to solve this problem .

       

      Below is the exception log:

      ---------------------------------------

       

      Exception in thread "management-client-thread 1-2" java.lang.OutOfMemoryError: Java heap space

          at java.util.Arrays.copyOf(Unknown Source)

          at java.io.ByteArrayOutputStream.write(Unknown Source)

          at org.jboss.as.protocol.StreamUtils.copyStream(StreamUtils.java:49)

          at org.jboss.as.controller.client.impl.AbstractModelControllerClient$ReadAttachmentInputStreamRequestHandler.copyStream(AbstractModelControllerClient.java:226)

          at org.jboss.as.controller.client.impl.AbstractModelControllerClient$ReadAttachmentInputStreamRequestHandler$1.execute(AbstractModelControllerClient.java:202)

          at org.jboss.as.protocol.mgmt.AbstractMessageHandler$2$1.doExecute(AbstractMessageHandler.java:287)

          at org.jboss.as.protocol.mgmt.AbstractMessageHandler$AsyncTaskRunner.run(AbstractMessageHandler.java:483)

          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

          at java.lang.Thread.run(Unknown Source)

          at org.jboss.threads.JBossThread.run(JBossThread.java:122)

       

       

      Thanks in Advance..