-
Notifications
You must be signed in to change notification settings - Fork 25k
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
Elastic uses depricated option UseConcMarkSweepGC #36828
Comments
Hi @ialidzhikov , Since #33685, we optionally support G1GC for Java 10 and above. However, our default GC engine remains CMS, as Java 1.8 remains a supported runtime and we don't feel confident about supporting G1GC in Java 1.8. If you wish to stick to G1GC you will need to edit the |
Pinging @elastic/es-core-infra |
I will close this issue now, I hope my above reply was helpful, if not, feel free to re-open. Thank you. |
Thank you @dliappis . It was very helpful. Most probably we will test also G1GC. |
Just one update, I was having this issue with minikube and managed to solve just increasing the default memory(2GB) of the VM to 6GBB |
27 Feb 2019 I made modifications to my jmv file but the following error appeared. C:\Users\fernando.mota\OneDrive - BHS\Área de Trabalho\Elastic.co\elastic 7.6\logstash-7.6.0>bin\logstash -e 'input { stdin { } } output { stdout {} }' C:\Users\fernando.mota\OneDrive - BHS\Área de Trabalho\Elastic.co\elastic 7.6\logstash-7.6.0>java -version |
Still getting these warnings on Elastic 7.7. Now that we're "all" on OpenJDK 14 - should we be commenting out these lines? jvm.options
|
@cawoodm The jvm.options in 7.7 looks like: elasticsearch/distribution/src/config/jvm.options Lines 35 to 48 in cf4543e
So the deprecation warnings should only appear if an older java is used. If you are using the default |
Describe the feature:
A gc deprication warning is being shown.
Elasticsearch version (
bin/elasticsearch --version
):6.5.1
Plugins installed: []
JVM version (
java -version
):OS version (
uname -a
if on a Unix-like system):Description of the problem including expected versus actual behavior:
We see the current log:
Steps to reproduce:
Please include a minimal but complete recreation of the problem, including
(e.g.) index creation, mappings, settings, query etc. The easier you make for
us to reproduce it, the more likely that somebody will take the time to look at it.
Provide logs (if relevant):
The text was updated successfully, but these errors were encountered: