On Thu, Oct 15, 2009 at 15:37, Bill Au <[email protected]> wrote: > I have a need to limit the max heap size of the javah task. So I am using a > <arg>: > > <javah > classpath="${build.classes}" > destdir="${build.native}/src/org/apache/hadoop/io/compress/zlib" > force="yes" > verbose="yes" > > > <arg value="-J-Xmx512m"/> > <class name="org.apache.hadoop.io.compress.zlib.ZlibCompressor" /> > </javah> >
Have you tried using <jvmarg> instead of <arg>? -- Francis Galiegue ONE2TEAM Ingénieur système Mob : +33 (0) 683 877 875 Tel : +33 (0) 178 945 552 [email protected] 40 avenue Raymond Poincaré 75116 Paris --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
