glassfish
  1. glassfish
  2. GLASSFISH-13456

OOME after multiple deployments of a sample app

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Duplicate
    • Affects Version/s: 3.1
    • Fix Version/s: not determined
    • Component/s: cdi
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      13,456

      Description

      After multiple (5-6) deployments of a sample application, the app server throws OOME with the
      following stack trace:

      INFO: java.lang.OutOfMemoryError: Java heap space
      INFO: at sun.nio.cs.UTF_8.newEncoder(UTF_8.java:53)
      INFO: at java.lang.StringCoding$StringEncoder.<init>(StringCoding.java:215)
      INFO: at java.lang.StringCoding$StringEncoder.<init>(StringCoding.java:207)
      INFO: at java.lang.StringCoding.encode(StringCoding.java:266)
      INFO: at java.lang.String.getBytes(String.java:946)
      INFO: at java.io.UnixFileSystem.getLastModifiedTime(Native Method)
      INFO: at java.io.File.lastModified(File.java:826)
      INFO: at org.apache.felix.fileinstall.internal.Scanner.checksum(Scanner.java:178)
      INFO: at org.apache.felix.fileinstall.internal.Scanner.checksum(Scanner.java:169)
      INFO: at org.apache.felix.fileinstall.internal.Scanner.scan(Scanner.java:113)
      INFO: at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:228)
      SEVERE: Exception in thread "DynamicReloader"
      SEVERE: java.lang.OutOfMemoryError: Java heap space
      SEVERE: Exception in thread "AutoDeployer"
      SEVERE: java.lang.OutOfMemoryError: Java heap space

      The app server has to be killed (kill -9) and restarted.

        Activity

          People

          • Assignee:
            Sivakumar Thyagarajan
            Reporter:
            arungupta
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: