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

[BUG] Wrong Java memory options in 169 release #168

Description

@amiga23

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Invalid maximum heap size: -Xmx1024MM
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

Expected Behavior

No response

Steps To Reproduce

Upgrade from 168 to 169

Environment

- OS: manjaro/archlinux ARM64
- How docker service was installed:
k3s

CPU architecture

arm64

Docker creation

Kubernetes deployment

Container logs

This message apears in a loop:

Invalid maximum heap size: -Xmx1024MM
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

Activity

  1. github-actions commented on Nov 29, 2022

    @github-actions

    Thanks for opening your first issue here! Be sure to follow the bug or feature issue templates!

  2. amiga23 commented on Nov 29, 2022

    @amiga23
    Author

    Parameter needs to be set without M now
    MEM_LIMIT=1024M -> MEM_LIMIT=1024

  3. thespad commented on Nov 29, 2022

    @thespad
    Contributor

    This behaviour, and the documentation, was changed a year ago in #119 , the most recent update removed the compatibility shim in place to handle the transition.

    If you update your environment variables as per the readme it will work.

  4. pinned this issue on Nov 30, 2022
  5. ints99 commented on Feb 3, 2023

    @ints99

    Why this is closed? The same issue is still not fixed?

  6. Roxedus commented on Feb 3, 2023

    @Roxedus
    Contributor

    There is nothing to fix, you need to alter your deployment according to our documentation.

  7. ints99 commented on Feb 3, 2023

    @ints99

    Ok, thanks, now I see the solution! Thnx!

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

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