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
Closed

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

echristopherson opened this issue Aug 14, 2015 · 1 comment

Comments

@echristopherson
Copy link

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.

@headius
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 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
Projects
None yet
Development

No branches or pull requests

3 participants