-
Notifications
You must be signed in to change notification settings - Fork 26
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
Support env memory overrides to start-tc-server (daggy main) #54
base: main
Are you sure you want to change the base?
Conversation
In discussion with Gary, we're having second thoughts about this... |
I guess that should work: |
Apparently not (specifying JAVA_OPTS), though they are vague as to why, simply saying it fails to start. I guess we need to test for ourselves with existing BM image. |
This produces the expected error:
and:
|
Is there any way to see what is actually being passed in? I suspect a quoting issue ... |
I keep asking them to be specific and they keep being vague. Trying yet again... |
Did you try using an --env-file like:
|
@jhouserizer In Dockerfile JAVA_OPTS is being used so if u pass it while running container it will cause issue- so if u pass explicitly JAVA_OPTS while running container it will override the JAVA_OPTS value defined in Dockerfile and I get this error- |
Note that both codelines are doing this:
Argument for this approach? |
the JAVA_OPTS contain some options I guess that is not supported in java11 i.e - TAB-8036 . |
I'm guessing that this is a non-breaking change. I placed
Questions:
I ask because I can reasonably expect customers to also want to add arbitrary java tuning flags that aren't memory specific. |
Currently
-Xms2g -Xmx2g
is hardcoded.There are 3 PRs, a review of just this one is all I need.