Support env memory overrides to start-tc-server (daggy main)#54
Support env memory overrides to start-tc-server (daggy main)#54akomakom wants to merge 1 commit intoTerracotta-OSS:mainfrom
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 -Xmx2gis hardcoded.There are 3 PRs, a review of just this one is all I need.