I just tried but it seems that is not valid for the javah task:
javah doesn't support the nested "jvmarg" element.
Bill
On Thu, Oct 15, 2009 at 9:53 AM, Francis GALIEGUE wrote:
> On Thu, Oct 15, 2009 at 15:37, Bill Au wrote:
> > I have a need to limit the max heap size of the javah task. S
On Thu, Oct 15, 2009 at 15:37, Bill Au wrote:
> I have a need to limit the max heap size of the javah task. So I am using a
> :
>
> classpath="${build.classes}"
> destdir="${build.native}/src/org/apache/hadoop/io/compress/zlib"
> force="yes"
> verbose="yes"
Bill Au wrote:
I have a need to limit the max heap size of the javah task. So I am using a
:
When I invoke javah directly with the same argument it actually works
without error:
javah -J-Xmx512m -classpath build/classes
org.apache.hadoop.io.compress.
I have a need to limit the max heap size of the javah task. So I am using a
:
But it is giving me a illegal argument error:
[javah] Error: -J-Xmx512m is an illegal argument
[javah]
[javah] Usage: javah [options]
[javah]
[javah] where