|
| 1 | +#******************************************************************** |
| 2 | +# JVM Parameters |
| 3 | +#******************************************************************** |
| 4 | + |
| 5 | +# Java Heap Size: by default the Java heap size is dynamically |
| 6 | +# calculated based on available system resources. |
| 7 | +# Uncomment these lines to set specific initial and maximum |
| 8 | +# heap size in MB. |
| 9 | +#dbms.memory.heap.initial_size=512 |
| 10 | +#dbms.memory.heap.max_size=512 |
| 11 | + |
| 12 | +# G1GC generally strikes a good balance between throughput and tail |
| 13 | +# latency, without too much tuning. |
| 14 | +dbms.jvm.additional=-XX:+UseG1GC |
| 15 | + |
| 16 | +# Have common exceptions keep producing stack traces, so they can be |
| 17 | +# debugged regardless of how often logs are rotated. |
| 18 | +dbms.jvm.additional=-XX:-OmitStackTraceInFastThrow |
| 19 | + |
| 20 | +# Reduce probability of objects getting the same identity hash code |
| 21 | +# via a race, by computing them with thread-local PRNGs. |
| 22 | +dbms.jvm.additional=-XX:hashCode=5 |
| 23 | + |
| 24 | +# Make sure that `initmemory` is not only allocated, but committed to |
| 25 | +# the process, before starting the database. This reduces memory |
| 26 | +# fragmentation, increasing the effectiveness of transparent huge |
| 27 | +# pages. It also reduces the possibility of seeing performance drop |
| 28 | +# due to heap-growing GC events, where a decrease in available page |
| 29 | +# cache leads to an increase in mean IO response time. |
| 30 | +# Try reducing the heap memory, if this flag degrades performance. |
| 31 | +dbms.jvm.additional=-XX:+AlwaysPreTouch |
| 32 | + |
| 33 | +# Trust that non-static final fields are really final. |
| 34 | +# This allows more optimisations and improves overall performance. |
| 35 | +# NOTE: Disable this if you use embedded mode, or have extensions or depencies that may use reflection or serialization |
| 36 | +# to change the value of final fields! |
| 37 | +dbms.jvm.additional=-XX:+UnlockExperimentalVMOptions |
| 38 | +dbms.jvm.additional=-XX:+TrustFinalNonStaticFields |
| 39 | + |
| 40 | +# Disable explicit garbage collection, which is occasionally invoked by the JDK itself. |
| 41 | +dbms.jvm.additional=-XX:+DisableExplicitGC |
| 42 | + |
| 43 | +# Remote JMX monitoring, uncomment and adjust the following lines as needed. |
| 44 | +# Also make sure to update the jmx.access and jmx.password files with appropriate permission roles and passwords, |
| 45 | +# the shipped configuration contains only a read only role called 'monitor' with password 'Neo4j'. |
| 46 | +# For more details, see: http://download.oracle.com/javase/7/docs/technotes/guides/management/agent.html |
| 47 | +# On Unix based systems the jmx.password file needs to be owned by the user that will run the server, |
| 48 | +# and have permissions set to 0600. |
| 49 | +# For details on setting these file permissions on Windows see: |
| 50 | +# http://docs.oracle.com/javase/7/docs/technotes/guides/management/security-windows.html |
| 51 | +#dbms.jvm.additional=-Dcom.sun.management.jmxremote.port=3637 |
| 52 | +#dbms.jvm.additional=-Dcom.sun.management.jmxremote.authenticate=true |
| 53 | +#dbms.jvm.additional=-Dcom.sun.management.jmxremote.ssl=false |
| 54 | +#dbms.jvm.additional=-Dcom.sun.management.jmxremote.password.file=conf/jmx.password |
| 55 | +#dbms.jvm.additional=-Dcom.sun.management.jmxremote.access.file=conf/jmx.access |
| 56 | + |
| 57 | +# Some systems cannot discover host name automatically, and need this line configured: |
| 58 | +#dbms.jvm.additional=-Djava.rmi.server.hostname=$THE_NEO4J_SERVER_HOSTNAME |
| 59 | + |
| 60 | +#******************************************************************** |
| 61 | +# Wrapper Windows NT/2000/XP Service Properties |
| 62 | +#******************************************************************** |
| 63 | +# WARNING - Do not modify any of these properties when an application |
| 64 | +# using this configuration file has been installed as a service. |
| 65 | +# Please uninstall the service before modifying this section. The |
| 66 | +# service can then be reinstalled. |
| 67 | + |
| 68 | +# Name of the service |
| 69 | +dbms.windows_service_name=js-driver-test-neo4j-server |
| 70 | + |
| 71 | +#******************************************************************** |
| 72 | +# Other Neo4j system properties |
| 73 | +#******************************************************************** |
| 74 | +dbms.jvm.additional=-Dunsupported.dbms.udc.source=zip |
0 commit comments