Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory leak in WSITServerAuthConfigProvider with WSITServerAuthConfig #373

Open
Tomas-Kraus opened this issue Jun 2, 2022 · 0 comments
Open

Comments

@Tomas-Kraus
Copy link
Member

The WSITServerAuthConfigProvider keeps instances of WSITServerAuthConfig in the WeakHashMap serverConfigMap.

The key (referent) to preserve the instances of WSITServerAuthConfig is a String instance which is also used as member appContext in instances of WSITServerAuthConfig.

This creates a reference loop, thus creates memory leaks: Undeployed applications aren't freed.

Environment

glassfish 3.1.2
any jdk
any os

Source: javaee/metro-wsit#1655
Author: glassfishrobot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant