-
Notifications
You must be signed in to change notification settings - Fork 1
[DSNYHD-84] fix memory settings #125
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
base: master
Are you sure you want to change the base?
Conversation
value=$(echo $i | cut -d '=' -f 2-) | ||
setOption $key $value "$file" | ||
if [[ -z "$key" ]]; then | ||
echo "Skipping env. variable ($i), since the resulting key is empty." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Example: 2025-09-11T13:42:23.976221557Z Skipping env. variable (LC_ALL=en_US.UTF-8), since the resulting key is empty.
Because this initialization script thinks that LC
is a property that should be applied to ALL
cores.
ALFRESCO_SOLR_SUGGESTER_ENABLED=${ALFRESCO_SOLR_SUGGESTER_ENABLED:-'true'} | ||
ALFRESCO_SOLR_FACETABLE_CATEGORIES_ENABLED=${ALFRESCO_SOLR_FACETABLE_CATEGORIES_ENABLED:-'false'} | ||
|
||
JAVA_XMS=${JAVA_XMS:-'512M'} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This property does not seem to be used?
ALFRESCO_SOLR_FACETABLE_CATEGORIES_ENABLED=${ALFRESCO_SOLR_FACETABLE_CATEGORIES_ENABLED:-'false'} | ||
|
||
JAVA_XMS=${JAVA_XMS:-'512M'} | ||
JAVA_XMX=${JAVA_XMX:-'2048M'} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wait to low for Solr anyway. Drop it + give a warning.
|
||
DIR=/docker-entrypoint.d | ||
|
||
BOLD="\033[1m" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This might not work in K8S, but this gives a nice representation of what the container is actually doing locally.
https://xenitsupport.jira.com/browse/DSNYHD-84
-XX:InitialRAMPercentage=50 -XX:MaxRAMPercentage=50