[jboss-jira] [JBoss JIRA] (WFLY-4798) Memory leak in JBoss CLI

Josef Cacek (JIRA) issues at jboss.org
Wed Jun 17 07:50:02 EDT 2015


Josef Cacek created WFLY-4798:
---------------------------------

             Summary: Memory leak in JBoss CLI
                 Key: WFLY-4798
                 URL: https://issues.jboss.org/browse/WFLY-4798
             Project: WildFly
          Issue Type: Bug
          Components: CLI
            Reporter: Josef Cacek
            Assignee: Alexey Loubyansky


The JBoss CLI contains a memory leak related to CLI Kerberos authentication.

The {{org.jboss.as.cli.impl.CommandContextImpl}} class calls the {{initJaasConfig()}} in its constructor, 
which adds a new {{JaasConfigurationWrapper}} instance to {{javax.security.auth.login.Configuration}}.
It's done for every new {{CommandContext}} instance, so it consumes more and more memory. There is no cleanup for the registered 
configurations.

Moreover, the searches for appropriate 
login config take more and more time because they have to go through all the wrapped objects.




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jboss-jira mailing list