-
Notifications
You must be signed in to change notification settings - Fork 200
OutOfMemoryError and GWT
Ryan Heaton edited this page Sep 17, 2015
·
1 revision
Note: The following only applies to Enunciate 1.x
For GWT users, Enunciate spawns a separate JVM to invoke the GWT compile command on the applications. It's easy to get an OutOfMemoryError when invoking Enunciate. In order to avoid this, you must configure the GWT compile JVM using the gwtCompileJVMArg
configuration element:
<enunciate ...>
...
<modules>
...
<gwt>
<gwtCompileJVMArg value="-Xms128m"/>
<gwtCompileJVMArg value="-Xmx1024m"/>
</gwt>
</modules>
</enunciate>