Edit the setenv.sh
file to adjust the heap size
(the default is 1024M
)
vim /opt/atlassian/confluence/bin/setenv.sh
# Set the Java heap size
CATALINA_OPTS="-Xms2048m -Xmx2048m ${CATALINA_OPTS}"
Restart Confluence
after modification
service confluence restart