Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

High (app) memory usage #147

Open
nightkr opened this issue Dec 17, 2024 · 0 comments
Open

High (app) memory usage #147

nightkr opened this issue Dec 17, 2024 · 0 comments
Labels

Comments

@nightkr
Copy link
Member

nightkr commented Dec 17, 2024

Affected Stackable version

main

Affected Hello World version

main

Current and expected behavior

The helloworld app (not operator) is running into severe memory pressure on my machine, often getting OOMkilled under the default resource settings (256MiB memory limit).

Possible solution

We should be setting the Java memory limit flag (-Xmx), but even then the memory usage seems far higher than I would have expected... It's also suspicious how inconsistent my experience is with @razvan's.

Additional context

No response

Environment

Client Version: v1.30.2
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.31.0+k3s1

Would you like to work on fixing this bug?

None

@nightkr nightkr changed the title High memory usage High (app) memory usage Dec 17, 2024
github-merge-queue bot pushed a commit that referenced this issue Dec 17, 2024
* chore: bump rust version in stackable base image

* cargo update

* remove unused env var

* cargo update

* reintroduce the CONTAINERDEBUG_LOG_DIRECTORY env var

* Bring Cargo.nix up to date

* Add JVM memory limit to work around #147

* Split out containerdebug probe into a separate test step

This should help reduce the amount of spam while checking other assertions

* Don't print the full containerdebug output

---------

Co-authored-by: Natalie Klestrup Röijezon <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant