Message-ID: From: "vlsi (@vlsi)" To: "pgjdbc/pgjdbc" Date: Tue, 09 Jan 2024 16:26:58 +0000 Subject: Re: [pgjdbc/pgjdbc] issue #3089: Metaspace Memory leak: Thread.inheritedAccessControlContext In-Reply-To: References: List-Id: X-GitHub-Author-Login: vlsi X-GitHub-Comment-Id: 1883373965 X-GitHub-Comment-Type: issue_comment X-GitHub-Issue: 3089 X-GitHub-Repo: pgjdbc/pgjdbc X-GitHub-Type: comment X-GitHub-Url: https://github.com/pgjdbc/pgjdbc/issues/3089#issuecomment-1883373965 Content-Type: text/plain; charset=utf-8 @embuc , can you find `org.postgresql.util.LazyCleaner` instance in the heap dump and show its values? The question is whether `LazyCleaner#first` value is `non-null` and if it is `non-null`, then what keeps the value in the heap (show paths to GC roots for the `LazyCleaner.first.referent`)