openrefine uses its variables to set the java heap.

This commit is contained in:
Andrea Dell'Amico 2018-11-08 13:54:36 +01:00
parent 3730666098
commit 9bc9428194
2 changed files with 2 additions and 3 deletions

View File

@ -13,5 +13,4 @@ openrefine_data_dir: '{{ openrefine_user_home }}/data'
openrefine_log_dir: '{{ openrefine_user_home }}/logs' openrefine_log_dir: '{{ openrefine_user_home }}/logs'
openrefine_base_dir: '{{ openrefine_user_home }}/{{ openrefine_distribution_prefix }}-{{ openrefine_version }}' openrefine_base_dir: '{{ openrefine_user_home }}/{{ openrefine_distribution_prefix }}-{{ openrefine_version }}'
openrefine_http_port: 3333 openrefine_http_port: 3333
openrefine_java_heap: 4192m openrefine_memory: 4192M
openrefine_memory: 3092M

View File

@ -19,7 +19,7 @@ REFINE_MIN_MEMORY={{ openrefine_memory }}
#JAVA_OPTIONS=-XX:+UseParallelGC -verbose:gc -Drefine.headless=true #JAVA_OPTIONS=-XX:+UseParallelGC -verbose:gc -Drefine.headless=true
#JAVA_OPTIONS=-Drefine.data_dir=C:\Users\user\AppData\Roaming\OpenRefine #JAVA_OPTIONS=-Drefine.data_dir=C:\Users\user\AppData\Roaming\OpenRefine
JAVA_HOME={{ jdk_java_home }} JAVA_HOME={{ jdk_java_home }}
JAVA_OPTIONS="-server -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Xms{{ openrefine_java_heap }} -Xmx{{ openrefine_java_heap }} -Drefine.data_dir={{ openrefine_data_dir }}" JAVA_OPTIONS="-server -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Xms{{ openrefine_java_heap }}"
# 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