Uploaded image for project: 'JBoss Logging'
  1. JBoss Logging
  2. JBLOGGING-118

Subclass of java.util.logging.Level creates PermGen memory leak

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 3.3.0.Beta1
    • jboss-logging-jdk
    • None
    • Hide

      Create a webapp and provide jboss-logging.jar inside a webapp archive file.

      Show
      Create a webapp and provide jboss-logging.jar inside a webapp archive file.
    • Hide

      Use a fork project murmur/jboss-logging from Github.

      Show
      Use a fork project murmur/jboss-logging from Github.

      Subclass of java.util.logging.Level creates PermGen memory leak if webapp provides jboss-logging.jar inside a webapp. This happen most likely in Tomcat and hot-redeployment stops working after few times out of PermGen memory.

      It's a commonly known side effect of JDK logging library, projects should not inherit Level class.

      See this discussion and github pull request where I have fixed this problem.
      http://stackoverflow.com/a/32412984/185565
      https://github.com/jboss-logging/jboss-logging/pull/21

              jperkins-rhn James Perkins
              murmur001 Murmur Murmur (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: