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

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

Closed
1 task done
amiga23 opened this issue Nov 29, 2022 · 6 comments
Closed
1 task done

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

amiga23 opened this issue Nov 29, 2022 · 6 comments

Comments

@amiga23
Copy link

amiga23 commented Nov 29, 2022

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.
@github-actions
Copy link

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

@amiga23
Copy link
Author

amiga23 commented Nov 29, 2022

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

@amiga23 amiga23 closed this as completed Nov 29, 2022
@thespad
Copy link
Member

thespad commented Nov 29, 2022

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.

@ints99
Copy link

ints99 commented Feb 3, 2023

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

@Roxedus
Copy link
Member

Roxedus commented Feb 3, 2023

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

@ints99
Copy link

ints99 commented Feb 3, 2023

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

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

4 participants