Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jruby: warning: unknown property jruby.{memory,stack}.max #3251

Closed
echristopherson opened this Issue Aug 14, 2015 · 1 comment

Comments

Projects
None yet
3 participants
@echristopherson
Copy link

echristopherson commented Aug 14, 2015

Whenever I run JRuby or JIRB using 9.0.0.0, installed with RVM, on a 64-bit Ubuntu 14.04.2 Linux 3.16.0-43 system, I get four warning lines:

jruby: warning: unknown property jruby.memory.max
jruby: warning: unknown property jruby.stack.max
jruby: warning: unknown property jruby.memory.max
jruby: warning: unknown property jruby.stack.max

It looks like those properties are hardcoded (to 500m and 2048k, respectively) in jruby-launcher-1.0.15-java/argparser.cpp now.

@rtyler rtyler added the JRuby 9000 label Aug 17, 2015

@headius

This comment has been minimized.

Copy link
Member

headius commented Aug 18, 2015

These properties are used to indicate what the command-line stack and heap max were set to, since we can't retrieve that information directly from standard Java APIs. I'll modify our list of options so that they don't cause a warning.

@headius headius closed this in dce1844 Aug 18, 2015

@headius headius added this to the JRuby 9.0.1.0 milestone Aug 18, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.