Skip to content

Don't capture the FormatExtension in LiveCache#2072

Merged
nedtwigg merged 1 commit intodiffplug:mainfrom
jhonnen:main
Apr 3, 2024
Merged

Don't capture the FormatExtension in LiveCache#2072
nedtwigg merged 1 commit intodiffplug:mainfrom
jhonnen:main

Conversation

@jhonnen
Copy link
Copy Markdown
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
Copy Markdown
Member

nedtwigg commented Apr 3, 2024

Aha! Great catch!

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