Skip to content

Conversation

@svendiedrichsen
Copy link
Contributor

Aims to fix #7849

Description

Fixing memory leak by moving cleanable state into static inner class instance and registering this with the Cleaner. Functionality operating on the state had to move into the state class to avoid referencig the LogFileHandle instance and thus preventing GC.

Important Info

Blockers

none

Testing

Needs to be done by someone able to reproduce the memory leak.

Testing Performed

PR pipeline

Notes for Reviewers

please see description

…e to allow LogFileHandles to be GC'd correctly
@svendiedrichsen
Copy link
Contributor Author

svendiedrichsen commented Jan 23, 2026

Has successfully been tested : #7849 (comment)

@kalinchan kalinchan added the PR: CLA CLA submitted on PR by the contributor label Jan 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: CLA CLA submitted on PR by the contributor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug Report: Possible Memory Leak In com.sun.jts.CosTransactions.LogFileHandle

2 participants