Forum: JRuby jruby java options not working?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
David Christiansen (Guest)
on 2009-03-11 16:17
(Received via mailing list)
Why doesn't this work?

$ jruby -J-Xmx1024m -S warble war:clean

results in:

jruby: unknown option -J-Xmx1024m

I'm doing this because I keep getting this error when I run the command
without the java option:

Error: Your application used more memory than the safety cap.
Specify -J-Xmx####m to increase it (#### = cap size in MB).

Thanks!

--
David Christiansen

removed_email_address@domain.invalid
www.techdarkside.com
317-966-6154 (mobile)
Chuck R. (Guest)
on 2009-03-11 16:22
(Received via mailing list)
On Mar 11, 2009, at 9:16 AM, David Christiansen wrote:

>
> Error: Your application used more memory than the safety cap.
> Specify -J-Xmx####m to increase it (#### = cap size in MB).

Works just fine on jruby 1.1.6. What version are you running?

cr
David Christiansen (Guest)
on 2009-03-11 16:37
(Received via mailing list)
jruby 1.1.6RC1 (ruby 1.8.6 patchlevel 114) (2009-03-09 rev 6586)
[amd64-java]


On Wed, Mar 11, 2009 at 10:21 AM, Chuck R.
<removed_email_address@domain.invalid>wrote:

>
>
>


--
David Christiansen

removed_email_address@domain.invalid
www.techdarkside.com
317-966-6154 (mobile)
Chuck R. (Guest)
on 2009-03-11 16:47
(Received via mailing list)
On Mar 11, 2009, at 9:36 AM, David Christiansen wrote:

>>
>> Specify -J-Xmx####m to increase it (#### = cap size in MB).
>
> Works just fine on jruby 1.1.6. What version are you running?

Try the release version instead of the release candidate (RC1). This
may have been a bug that was fixed during the release candidate stage.

cr
Josh M. (Guest)
on 2009-03-11 16:57
(Received via mailing list)
Dave,

I ran the this command "jruby -J-Xmx1024m -S jirb" and it ran fine using
JRuby1.2.0-RC2.  What version of JRuby are you using?

Josh

On Wed, Mar 11, 2009 at 10:16 PM, David Christiansen
David Christiansen (Guest)
on 2009-03-11 16:58
(Received via mailing list)
jruby 1.1.6RC1 (ruby 1.8.6 patchlevel 114) (2009-03-09 rev 6586)
[amd64-java]

On Wed, Mar 11, 2009 at 10:56 AM, Josh M. <removed_email_address@domain.invalid>
wrote:

>
>>
>> 317-966-6154 (mobile)
>>
>
>


--
David Christiansen

removed_email_address@domain.invalid
www.techdarkside.com
317-966-6154 (mobile)
David Christiansen (Guest)
on 2009-03-11 17:59
(Received via mailing list)
We installed jruby 1.1.6 (ruby 1.8.6 patchlevel 114) (2009-03-11 rev
6586)
[amd64-java] and I still get the same error:

 ~ $ jruby -J-Xmx1024m -S jirb
jruby: unknown option -J-Xmx1024m



On Wed, Mar 11, 2009 at 10:57 AM, David Christiansen
<removed_email_address@domain.invalid>wrote:

>> Josh
>>>
>>> --
> --
> David Christiansen
>
> removed_email_address@domain.invalid
> www.techdarkside.com
> 317-966-6154 (mobile)
>



--
David Christiansen

removed_email_address@domain.invalid
www.techdarkside.com
317-966-6154 (mobile)
Charles Oliver N. (Guest)
on 2009-03-11 18:13
(Received via mailing list)
Is this JRuby installed from ports/yum/apt-get or something similar? Or
is it JRuby unpacked from our downloads? It almost looks like "jruby"
has been aliased to something else, or the -J processing has been broken
on your system.

David Christiansen wrote:
>
>
>             results in:
>
>
> --
> David Christiansen
>
> removed_email_address@domain.invalid <mailto:removed_email_address@domain.invalid>
> www.techdarkside.com <http://www.techdarkside.com>
> 317-966-6154 (mobile)


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
David Christiansen (Guest)
on 2009-03-11 18:29
(Received via mailing list)
It was unpacked from your downloads. I think it has been aliased somehow
-
I'm looking into it. Thanks for the help.

On Wed, Mar 11, 2009 at 12:12 PM, Charles Oliver N. <
removed_email_address@domain.invalid> wrote:

>>  ~ $ jruby -J-Xmx1024m -S jirb
>>    On Wed, Mar 11, 2009 at 10:56 AM, Josh M. <removed_email_address@domain.invalid
>>        On Wed, Mar 11, 2009 at 10:16 PM, David Christiansen
>>            I'm doing this because I keep getting this error when I run
>>            www.techdarkside.com <http://www.techdarkside.com>
>>    317-966-6154 (mobile)
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>   http://xircles.codehaus.org/manage_email
>
>
>


--
David Christiansen

removed_email_address@domain.invalid
www.techdarkside.com
317-966-6154 (mobile)
This topic is locked and can not be replied to.