This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Increase heap sizes using gij
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: Pat - We Create <pat at we-create dot org>
- Cc: gcc-help <gcc-help at gcc dot gnu dot org>
- Date: Sun, 11 Mar 2012 23:24:11 +0000
- Subject: Re: Increase heap sizes using gij
- References: <CAH6eHdT+4acP-HuB=PhFN-SqDYSTZk5fC_ODNcOw854vjg6s6w@mail.gmail.com> <CB82D81B.11557%pat@we-create.org>
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.