If so: under the "Files" tab, open up nbproject/gwt-build.xml. In the
"-post-compile" target change the
<java classpath="${javac.classpath}:${src.dir}" failonerror="true"
classname="com.google.gwt.dev.GWTCompiler" fork="true">
to something like
<java classpath="${javac.classpath}:${src.dir}" failonerror="true"
classname="com.google.gwt.dev.GWTCompiler" fork="true"
maxmemory="128M">
If you're not using GWT4NB (then you should probably think about it), then take
a look in the generated build.xml and find the <java> command that runs the
GWTCompiler, and follow the above ;)
Hope that helps a bit.