This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Increase heap sizes using gij


On 11 March 2012 22:35, Pat - We Create wrote:
> Hi Jonathan,

Please reply to the mailing list not just to me, thanks.

> We have tomcat running on Linux. I'm using the command line via ssh to try
> and change the heap sizes used by tomcat.
>
> I'm trying to change the heap sizes using the following command in the
> command line:
> gij âms=512

Even assuming the â character is just MS Outlook autocorrecting -- to
some other character, that command-line won't work.

Read the output:

> This just returns this to the command line:
> Usage: gij [OPTION] ... CLASS [ARGS] ...
> to interpret Java bytecodes, or
> gij -jar [OPTION] ... JARFILE [ARGS] ...
> to execute a jar file

You are not using either of those forms, you need to specify a class
(in the first form) or use -jar and specify a jar file (in the second
form.)

If you use on of those forms to run a program then you can use the
--ms option to set its heap size, but you're not actually running a
program, so there's nothing to set the heap size for.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]