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

Services cannot start due to unrecognized JVM option in newer JDK version #15

Open
DaasDaham opened this issue Mar 13, 2021 · 0 comments

Comments

@DaasDaham
Copy link

DaasDaham commented Mar 13, 2021

System Information
OS: Linux (Ubuntu 18.04)
Java Version: OpenJDK 1.11.0

Error information
The first service started from ./startservices.sh results in the error: ERROR: Process 17511 ontologyInfoService has died

The log file for ontologyInfoService reads
Unrecognized option: -Xincgc Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit.

This error is caused due to the JVM option -Xincgc (Use incremental garbage collection) being deprecated in Java 8 and being entirely removed in further versions.

A quick and dirty fix is to remove the -Xincgc option from the .env file. Another fix can be to override from ENV_OVERRIDE

semtk/.env

Line 46 in 87dfae7

export JVM_OPTIONS=${JVM_OPTIONS:-"-Xmx20G -Xincgc"}

cuddihyge pushed a commit that referenced this issue Feb 21, 2023
Add capability to load ingestion packages
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

1 participant