Skip to content

Postgres-app: unset JAVA_TOOL_OPTIONS env variable when running james-cli#2402

Merged
Arsnael merged 1 commit into
apache:postgresqlfrom
quantranhong1999:fix-k8s-james-cli-memory-constraint-postgres
Sep 10, 2024
Merged

Postgres-app: unset JAVA_TOOL_OPTIONS env variable when running james-cli#2402
Arsnael merged 1 commit into
apache:postgresqlfrom
quantranhong1999:fix-k8s-james-cli-memory-constraint-postgres

Conversation

@quantranhong1999
Copy link
Copy Markdown
Member

GIVEN I run james-cli in kubernetes
THEN the pod crashes and reboots

Because the james-cli runs JVM it catches the environment variables set by James. As such it always pretouch 3GB of RAM. When added to memory consumed by James it exceeds the limit and pod get's OOM-killed.

…-cli

GIVEN I run james-cli in kubernetes
THEN the pod crashes and reboots

Because the james-cli runs JVM it catches the environment variables set by James.
As such it always pretouch 3GB of RAM. When added to memory consumed by James it exceeds the limit and pod get's OOM-killed.
@Arsnael Arsnael merged commit 9c147ea into apache:postgresql Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants