Skip to content

Commit

Permalink
Increase memory limit of adapter containers
Browse files Browse the repository at this point in the history
When running the integration tests locally one of the protocol adapters
sporadically gets OOM killed by the docker daemon. Increasing the memory
limit from 256 to 300 MB might help preventing this.

Signed-off-by: Kai Hudalla <kai.hudalla@bosch-si.com>
  • Loading branch information
Kai Hudalla committed Dec 16, 2019
1 parent af36ade commit e343737
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/pom.xml
Expand Up @@ -47,7 +47,7 @@ Test cases are run against Docker images of Hono server + (Apache Qpid Dispatch
<hono.auth.host>hono-service-auth.hono</hono.auth.host>
<default.java.options>
-XX:MinRAMPercentage=80
-XX:MaxRAMPercentage=80
-XX:MaxRAMPercentage=90
-javaagent:/opt/hono/agent/org.jacoco.agent.jar=destfile=/opt/hono/jacoco.result/jacoco.part
-DenableForcedCommandRerouting=true
</default.java.options>
Expand Down Expand Up @@ -581,8 +581,8 @@ Test cases are run against Docker images of Hono server + (Apache Qpid Dispatch
<name>hono</name>
<alias>hono-adapter-http-vertx.hono</alias>
</network>
<memorySwap>268435456</memorySwap>
<memory>268435456</memory>
<memorySwap>314572800</memorySwap>
<memory>314572800</memory>
<env>
<LOGGING_CONFIG>file:/etc/hono/logback-spring.xml</LOGGING_CONFIG>
<SPRING_CONFIG_LOCATION>file:/etc/hono/</SPRING_CONFIG_LOCATION>
Expand Down Expand Up @@ -745,8 +745,8 @@ Test cases are run against Docker images of Hono server + (Apache Qpid Dispatch
<name>hono</name>
<alias>hono-adapter-amqp-vertx.hono</alias>
</network>
<memorySwap>268435456</memorySwap>
<memory>268435456</memory>
<memorySwap>314572800</memorySwap>
<memory>314572800</memory>
<env>
<LOGGING_CONFIG>file:///etc/hono/logback-spring.xml</LOGGING_CONFIG>
<SPRING_CONFIG_LOCATION>file:///etc/hono/</SPRING_CONFIG_LOCATION>
Expand Down

0 comments on commit e343737

Please sign in to comment.