Skip to content

Commit

Permalink
Increase heap size (#272)
Browse files Browse the repository at this point in the history
  • Loading branch information
geir-waagboe authored Sep 30, 2024
1 parent 92c50c4 commit 1d3d1ff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .nais/naiserator-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ spec:
path: /prometheus
resources:
limits:
memory: 1Gi
memory: 2Gi
requests:
cpu: 200m
memory: 512Mi
memory: 1024Mi
ingresses:
- "https://padm2.intern.nav.no"
gcp:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM gcr.io/distroless/java21
WORKDIR /app
COPY build/libs/app.jar app.jar
ENV JDK_JAVA_OPTIONS="-Dlogback.configurationFile=logback.xml"
ENV JDK_JAVA_OPTIONS="-XX:MaxRAMPercentage=75 -Dlogback.configurationFile=logback.xml"
ENV TZ="Europe/Oslo"
EXPOSE 8080
USER nonroot
Expand Down

0 comments on commit 1d3d1ff

Please sign in to comment.