Ant RMIC. How increase memory allocated for the Java stack?
From: Stephen Chalkley (steve_chalkley_at_hotmail.com)
Date: 12/15/03
- Next message: Usano: "J2SE v1.4.2 and NetBeans bundle installation freezes at 8% completion."
- Previous message: haim: "[Ann] XpoLog 2.2 Security released - Powerful log viewer"
- Next in thread: Stefan Bodewig: "Re: Ant RMIC. How increase memory allocated for the Java stack?"
- Reply: Stefan Bodewig: "Re: Ant RMIC. How increase memory allocated for the Java stack?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 15 Dec 2003 04:11:32 -0800
Hi,
I am using Ant 1.5.4 and am getting the following message on my RMIC
step.
[rmic] The compiler has run out of stack space. Consider using the
"-J-oss
<number>" command line option to increase the memory allocated for the
Java stac
k.
I am trying to follow the advice in this error message from Ant, but
cant get the syntax right!
I have added a compilerarg statement to the build.xml step as below
<target name="rmic" depends="init,compile.rmic">
<rmic base="${classes.xcob}" stubversion="1.2" debug="on"
sourcebase="${build}/rmic-source">
<compilerarg value="-J-oss 5m"/>
When I run it with this get ant saying
[rmic] -J-oss 5m is an invalid option or argument.
and it says
[rmic] -J<runtime flag> Pass argument to the java
interpreter
I have tried many variations of the compilerarg line above.
I have looked at
http://ant.apache.org/manual/CoreTasks/rmic.html
and at
http://www.biostat.wisc.edu/cgi-bcg/man.cgi?section=1&topic=java
but still cant get the syntax right to increase the memory allocated
for the Java stack.
Note I am using Java 1.4.2 here.
Help!
Thanks
Stephen Chalkley.
- Next message: Usano: "J2SE v1.4.2 and NetBeans bundle installation freezes at 8% completion."
- Previous message: haim: "[Ann] XpoLog 2.2 Security released - Powerful log viewer"
- Next in thread: Stefan Bodewig: "Re: Ant RMIC. How increase memory allocated for the Java stack?"
- Reply: Stefan Bodewig: "Re: Ant RMIC. How increase memory allocated for the Java stack?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]