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

Allow user to specify JVM options through environment variable #19

Open
tongwang opened this issue Apr 25, 2019 · 4 comments
Open

Allow user to specify JVM options through environment variable #19

tongwang opened this issue Apr 25, 2019 · 4 comments

Comments

@tongwang
Copy link

I'd like to set heap sizes of the Tika server. However I couldn't find a way to do so. How about having an environment variable (JAVA_OPTS or TIKA_JAVA_OPTS) that users can pass JVM options to the container?

@mpdude
Copy link

mpdude commented Apr 29, 2019

Don’t know if it helps: IIRC there is a way to make Java detect it’s running in a container and use all available container memory.

That way, you can assign memory limits when starting the container.

@mpdude
Copy link

mpdude commented Apr 29, 2019

@arjunyel
Copy link
Contributor

This should let it auto detect and adapt to the memory #20

@mpdude
Copy link

mpdude commented Jan 8, 2020

@tongwang Could you please check if this has been resolved by #20 and if so, close this issue here?

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

3 participants