Skip to content

Commit bde1f2c

Browse files
committed
Increase heap size for long runs
1 parent fb07bdb commit bde1f2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

harvest-legacy/src/main/resources/bin/harvest-solr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,5 +83,5 @@ HARVEST_JAR=`ls ${LIB_DIR}/harvest-*.jar`
8383

8484
# Executes Harvest via the executable jar file
8585
# Arguments are passed in to the tool via '$@'
86-
${JAVA_CMD} -Xms256m -Xmx1024m -Dcom.sun.xml.bind.v2.bytecode.ClassTailor.noOptimize=true -Dpds.search=${SOLR_URL} -Dpds.harvest.search.conf=${SEARCH_CONF} -Dresources.home=${PARENT_DIR}/resources -jar ${HARVEST_JAR} "$@"
86+
${JAVA_CMD} -Xms1024m -Xmx2048m -Dcom.sun.xml.bind.v2.bytecode.ClassTailor.noOptimize=true -Dpds.search=${SOLR_URL} -Dpds.harvest.search.conf=${SEARCH_CONF} -Dresources.home=${PARENT_DIR}/resources -jar ${HARVEST_JAR} "$@"
8787

0 commit comments

Comments
 (0)