[Engine-devel] Controlling GWT compiler JVM arguments

Vojtech Szocs vszocs at redhat.com
Tue Mar 19 16:30:36 UTC 2013


Hi guys,

for those of you getting "Exception: java.lang.OutOfMemoryError" or similar errors during GWT compilation of WebAdmin/UserPortal, it's now possible to override default JVM arguments for GWT compiler via command line.

For example:

  $ mvn clean install -Pdep,gwt-admin,gwt-user -Dgwt-plugin.extraJvmArgs="-Xms1024M -Xmx2048M -XX:PermSize=256M -XX:MaxPermSize=512M"

Note: you can find default "gwt-plugin.extraJvmArgs" value in $OVIRT_HOME/frontend/webadmin/modules/pom.xml

Regards,
Vojtech



More information about the Engine-devel mailing list