Uploaded image for project: 'Embedded Jopr'
  1. Embedded Jopr
  2. EMBJOPR-359

Java Heap Size error during EAR deployment

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Environment:

      JBoss AS 6.0.0.Final, Windows 7, Sun JDK 1.6.11

    • Steps to Reproduce:
      Hide

      1. Set "JAVA_OPTS=-Xms512M -Xmx1024M -XX:MaxPermSize=512M" in run.conf.bat
      2. Launch jboss as "run.bat -b 0.0.0.0 -c standard"
      3. Open Internet Explorer and navigate to localhost:8080/admin-console
      4. Try to deploy EAR file

      Show
      1. Set "JAVA_OPTS=-Xms512M -Xmx1024M -XX:MaxPermSize=512M" in run.conf.bat 2. Launch jboss as "run.bat -b 0.0.0.0 -c standard" 3. Open Internet Explorer and navigate to localhost:8080/admin-console 4. Try to deploy EAR file
    • Workaround:
      Workaround Exists
    • Workaround Description:
      Hide

      Increase the max heap size of the JBoss AS JVM.

      Show
      Increase the max heap size of the JBoss AS JVM.
    • Estimated Difficulty:
      Medium

      Description

      We are trying to deploy an EAR file which has size approx. 280MB. While deploying via admin-console, it throws Java Heap Size error and related stacktrace is attached to this issue. However, if we deploy via putting the file in server/standard/deploy folder no error occurs and everything goes well.

      Our Java_opts in run.conf.bat is set as; "JAVA_OPTS=-Xms512M -Xmx1024M -XX:MaxPermSize=512M"

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                ips Ian Springer
                Reporter:
                hjunior81 Hakan Junior
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: