robski
14 years agoNew Contributor
Changing java options for maven-soapui-plugin
I have a SoapUI test project that runs fine when I run it through the interactive package, but fails when run through the maven-soapui-plugin.
It falls over with the error:
java.lang.OutOfMemoryError: Java heap space
That should be simple enough to fix, just up the memory parameter as options to the JVM. But how?
Doing it with Maven or Java environment variables seems not to work. I found a reference to a posting on the web that the plugin runs in its own JVM instance but the full posting was unavailable.
Can anyone suggest how to get the -Xms128m -Xmx1024m into the JVM the plugin is using?
It falls over with the error:
java.lang.OutOfMemoryError: Java heap space
That should be simple enough to fix, just up the memory parameter as options to the JVM. But how?
Doing it with Maven or Java environment variables seems not to work. I found a reference to a posting on the web that the plugin runs in its own JVM instance but the full posting was unavailable.
Can anyone suggest how to get the -Xms128m -Xmx1024m into the JVM the plugin is using?