|
From: <svn...@os...> - 2011-12-23 01:23:09
|
Author: jdeolive
Date: 2011-12-22 17:23:03 -0800 (Thu, 22 Dec 2011)
New Revision: 38446
Modified:
branches/2.7.x/pom.xml
Log:
adding flag to set max heap size for forked javac processes, with a default value of 256m
Modified: branches/2.7.x/pom.xml
===================================================================
--- branches/2.7.x/pom.xml 2011-12-23 01:22:27 UTC (rev 38445)
+++ branches/2.7.x/pom.xml 2011-12-23 01:23:03 UTC (rev 38446)
@@ -78,6 +78,7 @@
<jvm.opts></jvm.opts>
<maven.build.timestamp.format>dd-MMM-yyyy HH:mm</maven.build.timestamp.format>
<build.timestamp>${maven.build.timestamp}</build.timestamp>
+ <javac.maxHeapSize>256M</javac.maxHeapSize>
</properties>
<!-- Profiles set on the command-line overwrite default properties. -->
@@ -1020,6 +1021,7 @@
too many classes in the permanent generation, see GEOT-2462
-->
<fork>true</fork>
+ <maxmem>${javac.maxHeapSize}</maxmem>
</configuration>
</plugin>
|