I tried resizing the heap for the maven easyb plugin
http://www.easyb.org/maven-easyb-plugin/ . In my easyb test, I added standard code to print heap size using the code Runtime.getFreeMemory () and Runtime.getTotalMemory ().
I tried to set MAVEN_OPTS = -Xmx1024m -Xms1024m, and also install maven selects the Maven surefire plugin. Now, when I run the same class from Junit, I see how getTotalMemory () displays the number to close 1Gig, but when the same classes are called from the easyb plugin they do not reflect the size of the memory.
There should be no way to pass the JVM opts to the maven easyb plugin when it runs these easyb tests? At the very least, it should at least select the MAVEN_OPTS settings from the environment.
Has anyone encountered such problems? (Search in this group archive does not show much)
source
share