Skip to content

Commit

Permalink
allocate more heap for dspace scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
blancoj committed Dec 13, 2024
1 parent a02207e commit 6a1ed38
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dspace/bin/dspace
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ fi
#Allow user to specify java options through JAVA_OPTS variable
if [ "$JAVA_OPTS" = "" ]; then
#Default Java to use 256MB of memory
JAVA_OPTS="-Xmx256m -Dfile.encoding=UTF-8"
#JAVA_OPTS="-Xmx256m -Dfile.encoding=UTF-8"
JAVA_OPTS="-Xmx4096m -Xms2048m -Dfile.encoding=UTF-8"
fi

# Now invoke Java
Expand Down

0 comments on commit 6a1ed38

Please sign in to comment.