mirror of
https://github.com/opencultureconsulting/openrefine-batch.git
synced 2025-03-30 00:00:25 +01:00
release v1.2, optimized java heap space settings
This commit is contained in:
parent
4c6cd7dbd4
commit
aaf1b273b1
@ -1,5 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# openrefine-batch.sh, Felix Lohmeier, v1.1, 2017-06-20
|
# openrefine-batch.sh, Felix Lohmeier, v1.2, 2017-06-21
|
||||||
# https://github.com/felixlohmeier/openrefine-batch
|
# https://github.com/felixlohmeier/openrefine-batch
|
||||||
|
|
||||||
# declare download URLs for OpenRefine and OpenRefine client
|
# declare download URLs for OpenRefine and OpenRefine client
|
||||||
@ -34,6 +34,7 @@ if [ ! -d "openrefine" ]; then
|
|||||||
tar -xzf "$(basename $openrefine_URL)" -C openrefine --strip 1 --totals
|
tar -xzf "$(basename $openrefine_URL)" -C openrefine --strip 1 --totals
|
||||||
rm -f "$(basename $openrefine_URL)"
|
rm -f "$(basename $openrefine_URL)"
|
||||||
sed -i '$ a JAVA_OPTIONS=-Drefine.headless=true' openrefine/refine.ini
|
sed -i '$ a JAVA_OPTIONS=-Drefine.headless=true' openrefine/refine.ini
|
||||||
|
sed -i 's/-Xms256M/-Xms$REFINE_MEMORY/' openrefine/refine
|
||||||
echo ""
|
echo ""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user