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

get_mem_opts interferes with java_opts #48

Closed
havocp opened this issue Oct 11, 2013 · 2 comments
Closed

get_mem_opts interferes with java_opts #48

havocp opened this issue Oct 11, 2013 · 2 comments

Comments

@havocp
Copy link
Contributor

havocp commented Oct 11, 2013

Set java_opts='-Xmx=256m' and you get "Error occurred during initialization of VM; Incompatible minimum and maximum heap sizes specified"

On heroku, JAVA_OPTS are provided to match the size of the VM you're deployed on, so the JAVA_OPTS need to win.

Suggest that get_mem_opts gives up if any are set manually, or something like that.

@jsuereth
Copy link
Member

Sounds like a good mechanism. Previously, we wanted people to just use the simpler get_mem_opts.

@jsuereth
Copy link
Member

jsuereth commented Nov 1, 2013

I think I have fix, trying it out now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants