200465
OutOfMemoryError while creating javadoc
diff --git a/docs/org.eclipse.wst.doc.isv/javadoc.xml b/docs/org.eclipse.wst.doc.isv/javadoc.xml
index bd07377..a0188cf 100644
--- a/docs/org.eclipse.wst.doc.isv/javadoc.xml
+++ b/docs/org.eclipse.wst.doc.isv/javadoc.xml
@@ -44,7 +44,6 @@
         </copy>
         <javadoc
             executable="${env.JAVADOC_COMMAND}"
-        	  maxmemory="512m"
             access="public"
             author="false"
             destdir="${outputDir}/reference/api"
@@ -64,7 +63,7 @@
             breakiterator="yes"
             verbose="false"
             failonerror="false">
-
+             <arg line="${env.JAVADOC_ARGS}"/>
             <classpath>
                 <pathelement path="${env.J2SE15}" />
                 <fileset dir="${buildDirectory}/../eclipse/plugins">