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

service.bat doesn't properly set the memory limits for installed services #3785

Closed
costin opened this Issue Sep 26, 2013 · 0 comments

Comments

Projects
None yet
1 participant
@costin
Copy link
Member

costin commented Sep 26, 2013

Currently the memory options are passed on as java options but these are ignored by the jvm.dll. They need to be extracted and passed through different arguments so they can be used before starting the java process.
Unfortunately this also means doing some conversion (from GB to MB and MB to KB).

@ghost ghost assigned costin Sep 26, 2013

@costin costin closed this in 971db7d Sep 26, 2013

costin added a commit that referenced this issue Sep 26, 2013

service.bat properly configures mem settings
service.bat converts X(m(s|x)|ss) to MB/KB and uses dedicated arguments to the underlying JVM DLL
empty/unset JAVA_OPTS no longer trips commons daemon
fixes #3785

(cherry picked from commit 971db7d)

mute pushed a commit to mute/elasticsearch that referenced this issue Jul 29, 2015

service.bat properly configures mem settings
service.bat converts X(m(s|x)|ss) to MB/KB and uses dedicated arguments to the underlying JVM DLL
empty/unset JAVA_OPTS no longer trips commons daemon
fixes elastic#3785

(cherry picked from commit 971db7d)
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.