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

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



----- Original Message -----
> 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>

Sorry, I pasted my local surefire test config by mistake. The original configuration in master is:

     <argLine>-Xms512m -Xmx2048m -XX:MaxPermSize=1024m</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
> _______________________________________________
> keycloak-dev mailing list
> keycloak-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-dev
> 


More information about the keycloak-dev mailing list