Forum Discussion

pembertonrw's avatar
pembertonrw
Contributor
12 years ago

Setting MaxPermSize When Using soapui and Maven

Hi,

I am trying to run my tests using Maven but I am running into permgen issues, so could someone advise me how I would go about setting this in the pom file? I tried setting this using the following in the configuration section for soapUI but it didn't seem to do anything:

<argLine>-Xms256m -Xmx2048m -XX:MaxPermSize=512m</argLine> 


I have run the above settings in the soapUI.bat file and all the tests finish OK so I know the settings are OK.

2 Replies

  • GiscardN's avatar
    GiscardN
    Frequent Contributor
    Hi,

    Please try adding these arguments to your mvn.bat file on the MAVEN_OPTS options line.
    Search for the line that contains %MAVEN_OPTS% and add these arguments to it:
    -Xms256m -Xmx2048m -XX:MaxPermSize=512m

    Regards,

    Giscard
    SmartBear Support
  • Thanks that did it for me, I was also able to overload the permgen settings on Bamboo