Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-7290

OutOfMemory error while using JBoss AS 5.1.0 with JBoss Native service on Windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Major
    • No Release
    • JBossAS-5.1.0.GA, 6.0.0.M1
    • Other
    • None
    • Workaround Exists
    • Hide

      The setting of JAVA_OPTS=-Xrs can be removed from the service.bat and instead be placed in the run.bat.conf. See forum thread for more details.

      Show
      The setting of JAVA_OPTS=-Xrs can be removed from the service.bat and instead be placed in the run.bat.conf. See forum thread for more details.

    Description

      A couple of users have reported in the forums that AS 5.1.0 when used with the JBoss Native that is shipped with AS causes OutOfMemory errors on Windows. Here are the forum threads:

      http://www.jboss.org/index.html?module=bb&op=viewtopic&t=161121
      http://www.jboss.org/index.html?module=bb&op=viewtopic&t=161622

      The real issue is that the default JAVA_OPTS (in run.bat.conf) which set the -Xms, -Xmx and other memory settings are being skipped because the run.bat.conf does not set the JAVA_OPTS if its already set. The service.bat (from JBoss Native) sets the JAVA_OPTS (with -Xrs) which causes the run.conf.bat to just skip the part where other JAVA_OPTS are being set.

      The issue is being tracked in JBoss Native JBNATIVE-59 but i am opening this JBAS JIRA so that it gets tracked as part of the AS project too.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jaikiran Jaikiran Pai (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: