Revert "fix: limit JVM heap to 128MB with G1GC periodic GC container"
Build & Deploy / build-and-deploy (push) Successful in 12s
Build & Deploy / build-and-deploy (push) Successful in 12s
This reverts commit d652f3f94b.
This commit is contained in:
+1
-3
@@ -25,6 +25,4 @@ COPY --from=build /build/target/quarkus-app/ /app/
|
|||||||
EXPOSE 8765
|
EXPOSE 8765
|
||||||
VOLUME /data
|
VOLUME /data
|
||||||
ENV DOSTALGIA_DATA_DIR=/data
|
ENV DOSTALGIA_DATA_DIR=/data
|
||||||
# Limit JVM heap — the app streams everything (upload/serve) so 128MB is plenty
|
ENTRYPOINT ["java", "-jar", "quarkus-run.jar"]
|
||||||
# G1GC with periodic GC allows heap to shrink when idle
|
|
||||||
ENTRYPOINT ["java", "-Xmx128m", "-Xms64m", "-XX:+UseG1GC", "-XX:G1PeriodicGCInterval=30000", "-jar", "quarkus-run.jar"]
|
|
||||||
|
|||||||
Reference in New Issue
Block a user