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