OSDN Git Service

MINOR: fix javac out of memory due to that many COLLADA classes o_O
authorirrisor <irrisor@75d07b2b-3a1a-0410-a2c5-0572b91ccdca>
Sun, 27 Aug 2006 16:50:42 +0000 (16:50 +0000)
committerirrisor <irrisor@75d07b2b-3a1a-0410-a2c5-0572b91ccdca>
Sun, 27 Aug 2006 16:50:42 +0000 (16:50 +0000)
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@3176 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

build.xml

index a99bf65..6d4f805 100755 (executable)
--- a/build.xml
+++ b/build.xml
@@ -47,7 +47,8 @@
                       destdir="${class}"
                       classpathref="classpath"
                           listfiles="no"
-               />
+               memoryMaximumSize="256m"
+        />
        </target>
 
     <target name="run-testchooser" depends="compile-test" description="Runs the TestChooser">
 
        <!-- Generats javadoc -->
        <target name="doc" depends="compile" description="generate the javadoc documentation">
-               <javadoc destdir="${doc}" useExternalFile="yes" author="true" version="true" use="true" package="yes" windowtitle="jME API">
+               <javadoc destdir="${doc}" useExternalFile="yes" author="true" version="true" use="true"
+                 package="yes" windowtitle="jME API"
+                 maxmemory="256m">
                        <fileset dir="${src}/com">
                                <include name="**/*.java" />
                        </fileset>
                       srcdir="${src}/jmetest"
                   destdir="${class}"
                   classpathref="classpath"
+               memoryMaximumSize="256m"
            />
                <!-- copy the resources into the build directory -->
                <copy todir="${class}/jmetest/data">