-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Keycloak container consumes too much memory in devmode #41813
Comments
/cc @pedroigor (keycloak), @sberyozkin (keycloak) |
What's the status of this? |
@geoand I can still reproduce the issue as described on a machine with 8 RAM using 999-SNAPSHOT from yesterday, so it is not fixed. |
Thanks for the update |
In the comments to the original question, @sberyozkin recommended to discuss it with @mabartos . I suppose, that one of them can be assigned to this issue. Update: there is a #41833 by me which fixes this, but there is no activity from the reviewer since July |
Sorry, totally missed it. I'll look at it. |
Fixes quarkusio#41813 Signed-off-by: Martin Bartoš <[email protected]>
Fixes quarkusio#41813 Signed-off-by: Martin Bartoš <[email protected]>
Fixes quarkusio#41813 Signed-off-by: Martin Bartoš <[email protected]>
We also have the same issue not just in devmode, observed in our CI jenkins jobs the failure:
|
Fixes quarkusio#41813 Signed-off-by: Martin Bartoš <[email protected]> (cherry picked from commit 4c49feb)
Fixes quarkusio#41813 Signed-off-by: Martin Bartoš <[email protected]>
Describe the bug
After #41162 I get tests in Quarkas quickstarts fail with OOM exception inside DevMode containers. This issue can only be reproduced, when modules are run together and not one after another, when using machine with 8GB or less of memory
Expected behavior
Tests should not fail (as in 3.12.0)
Actual behavior
How to Reproduce?
git clone -b development https://github.com/quarkusio/quarkus-quickstarts.git && cd quarkus-quickstarts
mvn clean verify
If run with
mvn clean verify -Dquarkus.keycloak.devservices.java-opts="-XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m -XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90"
or evenmvn clean verify -Dquarkus.keycloak.devservices.java-opts="-XX:MaxMetaspaceSize=256m -XX:AdaptiveSizePolicyWeight=90"
, this doesn't failOutput of
uname -a
orver
4.18.0-553.5.1.el8_10.x86_64
Output of
java -version
17.0.7, vendor: Red Hat, Inc.
Quarkus version or git rev
999-SNAPSHOT (see above)
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.8.6 (84538c9988a25aec085021c365c560670ad80f63)
Additional information
Was fist created as a question[1], but later it was decided, that this worth filling a bug
[1] #41426 (reply in thread)
The text was updated successfully, but these errors were encountered: