cichengzi commented on issue #3059:
URL: https://github.com/apache/hugegraph/issues/3059#issuecomment-4679708218

   I currently have multiple machines, two with 32GB RAM and one with 64GB RAM. 
However, in actual use, as graphs are continuously created and tasks are 
executed, memory usage increases rapidly until it almost completely consumes 
all memory, and memory is not reclaimed for a long time. I've actually made 
some JVM memory settings in `hugegraph-server.sh` as follows:
   
   JAVA_OPTIONS="-Xms16g -Xmx16g -XX:MetaspaceSize=1024m 
-XX:MaxMetaspaceSize=2047m -XX:MaxDirectMemorySize=2g -XX:+UseG1GC 
-XX:MaxGCPauseMillis=200 -XX:InitiatingHeapOccupancyPercent=40"
   
   # Turn on security check
   exec ${JAVA} -Dname="HugeGraphServer" ${JVM_OPTIONS} ${JAVA_OPTIONS} -cp 
${CLASSPATH}: \
   
   org.apache.hugegraph.dist.HugeGraphServer ${GREMLIN_SERVER_CONF} 
${REST_SERVER_CONF} \
       >> ${OUTPUT} 2>&1


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to