Message-ID: From: "embuc (@embuc)" To: "pgjdbc/pgjdbc" Date: Thu, 11 Jan 2024 10:16:25 +0000 Subject: Re: [pgjdbc/pgjdbc] issue #3089: Metaspace Memory leak: Thread.inheritedAccessControlContext In-Reply-To: References: List-Id: X-GitHub-Author-Login: embuc X-GitHub-Comment-Id: 1886788145 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-1886788145 Content-Type: text/plain; charset=utf-8 > > It doesn't seems to be available, I can see a lot of threads like this however: ![image](https://private-user-images.githubusercontent.com/1480007/295302840-537e6f6e-bf5c-4d75-b356-f151ced5415a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MDQ5MTI5NjYsIm5iZiI6MTcwNDkxMjY2NiwicGF0aCI6Ii8xNDgwMDA3LzI5NTMwMjg0MC01MzdlNmY2ZS1iZjVjLTRkNzUtYjM1Ni1mMTUxY2VkNTQxNWEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDExMCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDAxMTBUMTg1MTA2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9Y2Q2MjdiZDljYzg0YmZlODRiZGIxZWE2YmU0YjgzNWNiNTg2ODBjYmJkYzc4NDg1YzJkMGVhMGFiMDQ1N2E0NSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.3rzdhz9TPQzFYjhjYk8_IUaEdwhqObioRTbMz3R6nrU) > > One thing that would be interesting to know is size of the `queue` I'm not 100% sure which of these retained instances one should look at but on random if I inspect them in MAT i see that queue is not null but it has length 0?