geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Warner" <jaw...@gmail.com>
Subject Re: Old Gshell sample causing issues with setting Java Memory options
Date Mon, 10 Mar 2008 19:52:03 GMT
I found where the file is, but I'm not quite sure what to do about it.  My
vote would go towards just removing it, but I'm sure it was put there with a
purpose to begin with.  Anyone have objections to removing it or any other
ideas as to what to do with it?

On Mon, Mar 10, 2008 at 1:36 PM, Jason Warner <jaw981@gmail.com> wrote:

> I've been getting strange errors when trying to change the amount of
> memory available to my instance of geronimo that I have launched through
> gshell.  After some digging, I found that what I believe is an old sample
> that was left in the etc/rc.d/ directory (start-server,default.groovy) is
> setting the max heap size to 512m.  This causes issues as it overrides
> whatever the user provides on the command line.  Meaning if I try to issue
> the command "geronimo/start-server -J -Xmx1024m -J -Xms1024m" I would get an
> incompatible initial and maximum heap size error because the rc.d file is
> overwriting my command options and setting maximum heap size to 512m.  I
> fixed this by deleting the file in the rc.d directory.  Does anyone know
> where this file comes from?  I assume it gets added in somehow during build
> time.  I'll have to look and see if I can find where.  In the meantime, I'll
> open an issue for this.
>
> --
> ~Jason Warner




-- 
~Jason Warner

Mime
View raw message