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

Stian Thorgersen sthorger at redhat.com
Mon Jan 25 22:41:28 EST 2016


Memory leak :(
On 25 Jan 2016 21:41, "Bill Burke" <bburke at redhat.com> wrote:

> We tear down and bring up the server a lot and I have noticed the JVM
> thrashing and slowing down the farther you get into the testrun.
> Expanding the heap solved the problem.
>
> On 1/25/2016 3:15 PM, Tomas Kyjovsky wrote:
> >
> > ----- 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
> >>
> > _______________________________________________
> > keycloak-dev mailing list
> > keycloak-dev at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/keycloak-dev
>
> --
> Bill Burke
> JBoss, a division of Red Hat
> http://bill.burkecentral.com
>
> _______________________________________________
> keycloak-dev mailing list
> keycloak-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-dev/attachments/20160126/852d2e7b/attachment.html 


More information about the keycloak-dev mailing list