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

prometheus jmx-exporter fails with UseCGroupMemoryLimitForHeap error #642

@Ceddec123

Description

@Ceddec123

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

Metadata

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