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

OutOfMemory error when repetatively deploying and undeploying with 10 minute interval

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: JBossAS-4.0.3RC2
    • Fix Version/s: 6.0.0.M1
    • Component/s: Deployers
    • Labels:
      None
    • Environment:

      WinXP SP2, JBoss 4.0.3RC2, JDK 1.4.2_07

      Description

      Using a manual copy and delete mechanism with the server\default\deploy folder the sample ear (attached) caused an outofmemory error eventually after 90 repetitions.
      The min and max heap settings were configured as : -Xms128m -Xmx512m
      The time delay after dropping/deploying the ear at each repetition was set to 10 minutes after which the ear is deleted/undeployed followed by a 10 second sleep till the next deploy cycle.

      I find this behaviour strange because http://jira.jboss.com/jira/browse/JBAS-1319 is supposed to have fixed this issue.

      The lines from the server.log surrounding the java.lang.OutOfMemoryError are as follows:

      2005-09-24 06:04:31,413 DEBUG [org.jboss.mx.loading.UnifiedClassLoader] New jmx UCL with url null
      2005-09-24 06:04:31,413 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3@e51e50, cl=org.jboss.mx.loading.UnifiedClassLoader3@c90207

      { url=null ,addedOrder=0}

      2005-09-24 06:04:33,057 ERROR [org.apache.commons.digester.Digester] Begin event threw error
      java.lang.OutOfMemoryError
      2005-09-24 06:04:33,057 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/XMPVXE0Partion/VXE1_ContentTestService]] StandardWrapper.Throwable
      java.lang.OutOfMemoryError
      2005-09-24 06:04:33,057 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/XMPVXE0Partion/VXE1_ContentTestService]] Servlet /XMPVXE0Partion/VXE1_ContentTestService threw load() exception
      java.lang.OutOfMemoryError
      2005-09-24 06:04:33,072 DEBUG [org.jboss.mx.loading.UnifiedClassLoader] New jmx UCL with url null

      The following two jars were added to the server\default\lib folder.
      commons-validator.jar — version 1.1.3
      struts.jar ---- version 1.2.4

        Gliffy Diagrams

          Attachments

          1. commons-beanutils.jar
            184 kB
          2. commons-beanutils-1.8.0-SNAPSHOT.jar
            214 kB
          3. commons-digester-1.8.jar
            140 kB
          4. Data.txt
            2 kB
          5. deploy-undeploy.sh
            0.4 kB
          6. paths-from-GC-roots.png
            paths-from-GC-roots.png
            135 kB
          7. paths-from-gc-roots2.png
            paths-from-gc-roots2.png
            110 kB
          8. SampleApp.ear
            1.64 MB
          9. Sampleapp.zip
            1.73 MB
          10. struts.jar
            514 kB
          11. test-jbas-2299.tar.gz
            2.87 MB
          12. UndeploymentNotificationListener.java
            3 kB
          13. UndeploymentNotificationListenerMBean.java
            0.2 kB

            Issue Links

              Activity

                People

                • Assignee:
                  dimitris Dimitris Andreadis
                  Reporter:
                  amarsyed Amar Syed
                • Votes:
                  7 Vote for this issue
                  Watchers:
                  12 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 2 hours
                    2h