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

Don't capture the FormatExtension in LiveCache #2072

Merged
merged 1 commit into from
Apr 3, 2024
Merged

Conversation

jhonnen
Copy link
Contributor

@jhonnen jhonnen commented Mar 19, 2024

Fixed memory leak caused by capturing the Gradle project model referenced by the LineEndings Provider stored in the JvmLocalCache.

Fixes #2067

Now only the file collection, the line endings enum and the directory are captured:
image

Fixed memory leak caused by capturing the Gradle project model
referenced by the LineEndings Provider stored in the JvmLocalCache.

Fixes diffplug#2067
@nedtwigg
Copy link
Member

nedtwigg commented Apr 3, 2024

Aha! Great catch!

@nedtwigg nedtwigg merged commit bceba42 into diffplug:main Apr 3, 2024
14 checks passed
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

Successfully merging this pull request may close these issues.

OutOfMemoryError due to LineEndingsPolicy in JvmLocalCache
2 participants