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

Simple redeploy causes memory leak

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • No Release
    • JBossAS-4.0.4.GA
    • Deployers
    • None
    • windows xpsp2 clean jboss install default configuration

    • Low

      I am using the simple ear file found at
      http://www.roseindia.net/jboss/anttutorialcode.zip and constantly redeploying it with something like this

      @ECHO OFF
      cls
      SET COUNT=0
      SET PATH=E:\tools\apache-ant-1.6.5\bin;%PATH%
      set SERVLET_LIB_JAR=E:\tools\Maven\repository\servletapi\jars\servletapi-2.3.jar
      :Loop
      call touch E:\dev\anttutorialcode\anttest\example2\src\HelloWorld.java
      call ant
      rem xcopy /f /y example2.ear E:\server\jboss-4.0.2\server\default\deploy >nul:
      xcopy /f /y example2.ear E:\server\jboss-4.0.4.GA\server\default\deploy >nul:
      SET /A COUNT=COUNT+1
      echo Deployed EAR file count is %COUNT%, sleeping 30 secs...
      sleep 30
      goto Loop

      There is a leak of 1mb every few minutes!

              dandread1@redhat.com Dimitrios Andreadis
              catch44 catch44 (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: