Skip to content
Snippets Groups Projects
Commit f8686bfc authored by User's avatar User Committed by Demian Katz
Browse files

Allow INDEX_OPTIONS to be set via an environmental variable

parent bcb0a289
No related merge requests found
......@@ -46,7 +46,9 @@ rem # You may also want to add the following:
rem # -XX:+UseParallelGC
rem # -XX:+AggressiveOpts
rem ##################################################
if not "!%INDEX_OPTIONS%!"=="!!" goto indexoptionsfound
set INDEX_OPTIONS=-Xms512m -Xmx512m -DentityExpansionLimit=0
:indexoptionsfound
rem ##################################################
rem # Set SOLRCORE
......
......@@ -49,7 +49,10 @@ fi
# -XX:+UseParallelGC
# -XX:+AggressiveOpts
##################################################
INDEX_OPTIONS='-Xms512m -Xmx512m -DentityExpansionLimit=0'
if [ -z "$INDEX_OPTIONS" ]
then
INDEX_OPTIONS='-Xms512m -Xmx512m -DentityExpansionLimit=0'
fi
##################################################
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment