<p dir="ltr">Memory leak :(</p>
<div class="gmail_quote">On 25 Jan 2016 21:41, "Bill Burke" <<a href="mailto:bburke@redhat.com">bburke@redhat.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">We tear down and bring up the server a lot and I have noticed the JVM<br>
thrashing and slowing down the farther you get into the testrun.<br>
Expanding the heap solved the problem.<br>
<br>
On 1/25/2016 3:15 PM, Tomas Kyjovsky wrote:<br>
><br>
> ----- Original Message -----<br>
>> Hello,<br>
>><br>
>> Looking at global settings for Surefire plugin in keycloak/pom.xml:<br>
>><br>
>> <artifactId>maven-surefire-plugin</artifactId><br>
>> <configuration><br>
>> <forkMode>once</forkMode><br>
>> <argLine>-Xms512m -Xmx2048m -XX:MaxMetaspaceSize=512m</argLine><br>
> Sorry, I pasted my local surefire test config by mistake. The original configuration in master is:<br>
><br>
> <argLine>-Xms512m -Xmx2048m -XX:MaxPermSize=1024m</argLine><br>
><br>
><br>
>> </configuration><br>
>><br>
>><br>
>> 1) The heap space settings seems quite high. Is there some reason for 2g<br>
>> heap? If not, can we lower it say to 1g?<br>
>><br>
>> 2) In JDK 8 permspace was replaced by metaspace which we might want to limit<br>
>> instead.<br>
>><br>
>><br>
>> Tomas<br>
>> _______________________________________________<br>
>> keycloak-dev mailing list<br>
>> <a href="mailto:keycloak-dev@lists.jboss.org">keycloak-dev@lists.jboss.org</a><br>
>> <a href="https://lists.jboss.org/mailman/listinfo/keycloak-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-dev</a><br>
>><br>
> _______________________________________________<br>
> keycloak-dev mailing list<br>
> <a href="mailto:keycloak-dev@lists.jboss.org">keycloak-dev@lists.jboss.org</a><br>
> <a href="https://lists.jboss.org/mailman/listinfo/keycloak-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-dev</a><br>
<br>
--<br>
Bill Burke<br>
JBoss, a division of Red Hat<br>
<a href="http://bill.burkecentral.com" rel="noreferrer" target="_blank">http://bill.burkecentral.com</a><br>
<br>
_______________________________________________<br>
keycloak-dev mailing list<br>
<a href="mailto:keycloak-dev@lists.jboss.org">keycloak-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-dev</a><br>
</blockquote></div>