[keycloak-dev] Maven Surefire plugin - memory settings for JDK 8

Tomas Kyjovsky tkyjovsk at redhat.com
Mon Jan 25 15:07:55 EST 2016


Hello,

Looking at global settings for Surefire plugin in keycloak/pom.xml:

  <artifactId>maven-surefire-plugin</artifactId>
  <configuration>
    <forkMode>once</forkMode>
    <argLine>-Xms512m -Xmx2048m -XX:MaxMetaspaceSize=512m</argLine>
  </configuration>


1) The heap space settings seems quite high. Is there some reason for 2g heap? If not, can we lower it say to 1g?

2) In JDK 8 permspace was replaced by metaspace which we might want to limit instead.


Tomas


More information about the keycloak-dev mailing list