diff --git a/highspec/neo4j.conf b/highspec/neo4j.conf index fcbdda1f7426ee9b33e2b332f1de244a2caa763a..334e947416e49b74733de801b4c2304ded4aa59e 100644 --- a/highspec/neo4j.conf +++ b/highspec/neo4j.conf @@ -2,6 +2,6 @@ dbms.security.auth_enabled=false dbms.connectors.default_listen_address=0.0.0.0 dbms.read_only=true dbms.security.procedures.unrestricted=apoc.* -dbms.memory.heap.initial_size=30g -dbms.memory.heap.max_size=30g -dbms.memory.pagecache.size=30g +dbms.memory.heap.initial_size=12g +dbms.memory.heap.max_size=12g +dbms.memory.pagecache.size=10g diff --git a/playground/neo4j.conf b/playground/neo4j.conf index 97b2d9afa32ab882c9e49f109cd84a017dd54c7a..082da24eca042635f3b25b0b50700a3f68baef9b 100644 --- a/playground/neo4j.conf +++ b/playground/neo4j.conf @@ -2,7 +2,7 @@ dbms.security.auth_enabled=false dbms.connectors.default_listen_address=0.0.0.0 dbms.read_only=false dbms.security.procedures.unrestricted=apoc.* -dbms.memory.heap.initial_size=500m -dbms.memory.heap.max_size=500m -dbms.memory.pagecache.size=200m +dbms.memory.heap.initial_size=4g +dbms.memory.heap.max_size=4g +dbms.memory.pagecache.size=2g diff --git a/playground/startup.sh b/playground/startup.sh index 02c0243c5aeda74870f227774c869b8a6ace7d46..092a9d708958efbab2db13ff2111de8ba1d35657 100644 --- a/playground/startup.sh +++ b/playground/startup.sh @@ -10,7 +10,7 @@ yum install $BASIC_DEPENDENCIES -y # get Neo4J wget $NEO4J_DOWNLOAD_URL -tar -xvf artifact.php?name=neo4j-community-3.5.13-unix.tar.gz +tar -xvf artifact.php?name=$NEO4J_SETUP_FILE rm artifact.php?name=$NEO4J_SETUP_FILE -f mv $NEO4J_VERSION /var/lib/ diff --git a/startup_nonroot_amz.sh b/startup_nonroot_amz.sh index 7d6340d7e788450c4054c3d79f7d84ed760bc7d4..a58f18434d72d0321cb1e64484ede26cdbfa60e5 100644 --- a/startup_nonroot_amz.sh +++ b/startup_nonroot_amz.sh @@ -40,7 +40,7 @@ sed -i -e '1idbms.memory.heap.max_size=30g\' $NEO4J_HOME/conf/neo4j.conf sed -i -e '1idbms.memory.pagecache.size=30g\' $NEO4J_HOME/conf/neo4j.conf # get the SSD device name -device=$(lsblk | grep nvme1n1 | cut -d' ' -f1) +device=$(lsblk | grep /dev/nvme0n1 | cut -d' ' -f1) # create an ext4 partition on the disk sudo mkfs.ext4 -E nodiscard -m0 /dev/$device