diff options
author | Franz Pletz <fpletz@fnordicwalking.de> | 2017-02-23 19:02:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-23 19:02:32 +0100 |
commit | 4730993ca6c7140050784df77850fa1e6e4ee52a (patch) | |
tree | f676e5563a29da7c71c2fa784afe68c417a8ea65 /nixos/modules | |
parent | 8e54fced988e4227c34bfc21417ac41eda4448c6 (diff) | |
parent | bc15b4222be805339d3acc451acc93622c92e070 (diff) |
Merge pull request #23109 from dtzWill/update/neo4j
neo4j: update and fix JVM parameters in NixOS module
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/services/databases/neo4j.nix | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/nixos/modules/services/databases/neo4j.nix b/nixos/modules/services/databases/neo4j.nix index 7b51f1af6899..cbba9c2a691c 100644 --- a/nixos/modules/services/databases/neo4j.nix +++ b/nixos/modules/services/databases/neo4j.nix @@ -30,9 +30,16 @@ let ''; wrapperConfig = pkgs.writeText "neo4j-wrapper.conf" '' + # Default JVM parameters from neo4j.conf + dbms.jvm.additional=-XX:+UseG1GC + dbms.jvm.additional=-XX:-OmitStackTraceInFastThrow + dbms.jvm.additional=-XX:+AlwaysPreTouch + dbms.jvm.additional=-XX:+UnlockExperimentalVMOptions + dbms.jvm.additional=-XX:+TrustFinalNonStaticFields + dbms.jvm.additional=-XX:+DisableExplicitGC + dbms.jvm.additional=-Djdk.tls.ephemeralDHKeySize=2048 + dbms.jvm.additional=-Dunsupported.dbms.udc.source=tarball - dbms.jvm.additional=-XX:+UseConcMarkSweepGC - dbms.jvm.additional=-XX:+CMSClassUnloadingEnabled ''; in { |