Skip to content

Commit

Permalink
Resource limit awareness is default in Java 10+
Browse files Browse the repository at this point in the history
which probably makes the discussion in #112 outdated.
Instead we could discuss -XX:MaxRAMPercentage and related flags from
http://bugs.java.com/view_bug.do?bug_id=JDK-8186248
  • Loading branch information
solsson committed Nov 28, 2018
1 parent 1ecae52 commit f9162a6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions prometheus/50-kafka-jmx-exporter-patch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ spec:
image: solsson/kafka-prometheus-jmx-exporter@sha256:d237a12cc0cde42b539bcb5efc0008ba5e6ca1351b7843ed52bd574d181c5efd
command:
- java
- -XX:+UnlockExperimentalVMOptions
- -XX:+UseCGroupMemoryLimitForHeap
- -XX:MaxRAMFraction=1
- -XshowSettings:vm
- -jar
- jmx_prometheus_httpserver.jar
- "5556"
Expand Down

0 comments on commit f9162a6

Please sign in to comment.