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

Cyclic reference is creating memory leak #1848

Open
priyanakk24 opened this issue Mar 10, 2022 · 1 comment
Open

Cyclic reference is creating memory leak #1848

priyanakk24 opened this issue Mar 10, 2022 · 1 comment

Comments

@priyanakk24
Copy link

Cyclic reference between ObjectInputStream and BlockDataInputStream. One object should be holding a weak reference.
A single cyclic reference is creating huge memory leak because ObjectInputStream has been used in our code in many classes.

This fixes will really help to solve a big memory leak.

Screenshot 2022-03-01 at 8 36 25 PM

@tomball
Copy link
Collaborator

tomball commented Sep 14, 2022

Would you please a short Java snippet that demonstrates this problem? I'm not sure how your app is using these two classes.

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

No branches or pull requests

2 participants