Skip to content

[BUG] JVM heap size settings are not being set if other jvm settings are passed #1106

@patelsmit32123

Description

@patelsmit32123

What is the bug?

When we don't pass any jvm settings, the builders/cluster.go adds jvm heap size settings based on requested memory. But if we pass some other jvm settings, then jvm heap size settings are not calculated/passed.

CalculateJvmHeapSize function in helpers.go class is not calculating correctly.

How can one reproduce the bug?

  1. Pass any jvm setting in node pool without passing heap size settings, this will make the operator not pass any Xmx/Xms values.

What is the expected behavior?

User should be able to pass other jvm settings without affecting calculation of jvm heap size settings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    🆕 New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions