Use parentheses for JAVA_OPTIONS on Unix/Linux (#2401)
* use parentheses for JAVA_OPTIONS on Unix/Linux * change regex in refine * add comment for JAVA_OPTIONS * Update refine.ini Co-Authored-By: Thad Guidry <thadguidry@gmail.com> * Update refine.ini Co-Authored-By: Thad Guidry <thadguidry@gmail.com> * Update refine.ini Co-Authored-By: Thad Guidry <thadguidry@gmail.com> Co-authored-by: Thad Guidry <thadguidry@gmail.com>
This commit is contained in:
parent
6ec40bc478
commit
9a5cb644ec
2
refine
2
refine
@ -103,7 +103,7 @@ load_configs() {
|
|||||||
if [ "${TEMP_CONFIG}" = "" ] ; then
|
if [ "${TEMP_CONFIG}" = "" ] ; then
|
||||||
error "Could not create temporary file to load configurations"
|
error "Could not create temporary file to load configurations"
|
||||||
fi
|
fi
|
||||||
cat $1 | egrep "^[A-Z]" | sed 's/^\(.*\)$/export \1/' > ${TEMP_CONFIG}
|
cat $1 | egrep "^[A-Z]" | sed 's/^\([^=]*\)=\(.*\)$/export \1=(\2)/' > ${TEMP_CONFIG}
|
||||||
. ${TEMP_CONFIG}
|
. ${TEMP_CONFIG}
|
||||||
rm ${TEMP_CONFIG}
|
rm ${TEMP_CONFIG}
|
||||||
}
|
}
|
||||||
|
@ -15,8 +15,8 @@ REFINE_MIN_MEMORY=1400M
|
|||||||
|
|
||||||
# Some sample configurations. These have no defaults.
|
# Some sample configurations. These have no defaults.
|
||||||
#JAVA_HOME=C:\Program Files\Java\jdk1.8.0_151
|
#JAVA_HOME=C:\Program Files\Java\jdk1.8.0_151
|
||||||
#JAVA_OPTIONS=-XX:+UseParallelGC -verbose:gc -Drefine.headless=true
|
# Use a single JAVA_OPTIONS that includes any JVM options you need upon OpenRefine startup
|
||||||
#JAVA_OPTIONS=-Drefine.data_dir=C:\Users\user\AppData\Roaming\OpenRefine
|
#JAVA_OPTIONS=-XX:+UseParallelGC -verbose:gc -Drefine.headless=true -Drefine.data_dir=C:\Users\user\AppData\Roaming\OpenRefine
|
||||||
|
|
||||||
# Uncomment to increase autosave period to 60 mins (default: 5 minutes) for better performance of long-lasting transformations
|
# Uncomment to increase autosave period to 60 mins (default: 5 minutes) for better performance of long-lasting transformations
|
||||||
#REFINE_AUTOSAVE_PERIOD=60
|
#REFINE_AUTOSAVE_PERIOD=60
|
||||||
|
Loading…
Reference in New Issue
Block a user