Skip to content

Commit

Permalink
Merge pull request LesnyRumcajs#95 from brunoborges/micronaut-fix
Browse files Browse the repository at this point in the history
Clear GC config of Micronaut bench
  • Loading branch information
brunoborges authored Aug 17, 2020
2 parents c8e253f + 2b9d692 commit dc43d0a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions java_micronaut_bench/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ COPY proto/helloworld/helloworld.proto /app/src/main/proto/helloworld.proto

RUN /app/gradlew installDist

ENV PGC "-XX:+UseParallelGC -XX:ParallelGCThreads=1"
ENV JAVA_OPTS "${PGC} -XX:MinRAMPercentage=70 -XX:MaxRAMPercentage=70"
ENV JAVA_OPTS "-XX:MinRAMPercentage=70 -XX:MaxRAMPercentage=70"

ENTRYPOINT ["/app/build/install/app/bin/app"]

0 comments on commit dc43d0a

Please sign in to comment.