# DO NOT EDIT THIS FILE!
# To change Java VM options ("-X"-options) for the installation,
# edit smartgit.vmoptions.
# To change Java VM options ("-X"-options) for the current user only,
# create and edit ${APPDATA}\syntevo\SmartGit\smartgit.vmoptions.
# To change SmartGit system properties, modify smartgit.properties
# (located in SmartGit's settings directory)

# Allow native access
--enable-native-access=ALL-UNNAMED
--sun-misc-unsafe-memory-access=allow

# set initial Java heap size
-Xms48m

# set maximum Java heap size
-Xmx1024m

# Use G1 garbage collector which reliably frees unused memory
-XX:+UseG1GC
-XX:MaxGCPauseMillis=100
-XX:InitiatingHeapOccupancyPercent=25
-XX:MaxJavaStackTraceDepth=1000000

# don't create %TEMP%\hsperfdata_user dir
-XX:-UsePerfData

-include-options ${APPDATA}\syntevo\SmartGit\smartgit.vmoptions

-XX:ErrorFile=${APPDATA}\syntevo\SmartGit\26.2\hs_err_pid%p.log
