Skip to content
This repository has been archived by the owner on Feb 20, 2024. It is now read-only.
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

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions