Skip to content
This repository has been archived by the owner on Feb 20, 2024. It is now read-only.

prometheus jmx-exporter fails with UseCGroupMemoryLimitForHeap error #642

Open
Ceddec123 opened this issue Apr 17, 2023 · 0 comments
Open

Comments

@Ceddec123
Copy link

Hi,

I'm using confluentinc/cp-schema-registry (image tag 7.2.1) with prometheus jmx-exporter.
The jmx-exporter pod fails with following error:
Unrecognized VM option 'UseCGroupMemoryLimitForHeap' Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit.

It seems to be coming for there:

- -XX:+UseCGroupMemoryLimitForHeap

and be related to an update from Java JDK8 to JDK 11 that doesn't support UseCGroupMemoryLimitForHeap option anymore.
https://support.circleci.com/hc/en-us/articles/360048152911-Java-Builds-Fail-With-Unrecognized-VM-option-UseCGroupMemoryLimitForHeap-

Can you help?

Thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant