Overblog Suivre ce blog
Editer l'article Administration Créer mon blog

Java Memory Leak with SOAP UI

13 Janvier 2011 , Rédigé par benkirane Publié dans #Les outils pour les tests - SOAP UI

Sometimes, when you use SOAP UI too much, you could face some memory leak issue. This will exit or freeze the tool without any alert.

In order to avoid this kind of problem, the user is able to modify the Java memory used by SOAP UI. To do that, you must go in the installation repository, by default it’s C:\Program Files\eviware\soapUI-2.5.1\, in the bin directory. There, you will find the file soapui.bat. You cane dit this file and replace the following line :

set JAVA_OPTS=-Xms128m –Xmx256m -Dsoapui.properties=soapui.properties "-Dsoapui.home=%SOAPUI_HOME%\"

by this one:

set JAVA_OPTS=-Xms256m –Xmx728m -Dsoapui.properties=soapui.properties "-Dsoapui.home=%SOAPUI_HOME%\"

If you have more than 2Go of RAM installed on your computer, you could also set the memory to –Xmx1024m. You will meet fewer problems in this case and the tool will not break down.

Partager cet article

Repost 0

Commenter cet article