From 3da584e55e5bd3facefdcbaf4bda8087046b0ea4 Mon Sep 17 00:00:00 2001 From: Natalia Ivakina Date: Mon, 1 Dec 2025 14:40:48 +0100 Subject: [PATCH 1/2] Document the option to change backup memory settings via `--additional-config` --- modules/ROOT/pages/backup-restore/online-backup.adoc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/ROOT/pages/backup-restore/online-backup.adoc b/modules/ROOT/pages/backup-restore/online-backup.adoc index 87298016b..8e77e8fee 100644 --- a/modules/ROOT/pages/backup-restore/online-backup.adoc +++ b/modules/ROOT/pages/backup-restore/online-backup.adoc @@ -287,6 +287,11 @@ If not specified, the Java Virtual Machine chooses a value based on the server r The page cache size can be configured by using the `--pagecache` option of the `neo4j-admin database backup` command. +* Modify the memory settings in the _neo4j.conf_ file:: + +You can also use the `--additional-config` option of the `neo4j-admin database backup` command to override the memory configurations in the _neo4j.conf_ file. + + [TIP] ==== You should give the Neo4J page cache as much memory as possible, as long as it satisfies the following constraint: From 0be0a93eb8eb33e9cc2425b55b8af1f46a3c47a6 Mon Sep 17 00:00:00 2001 From: Natalia Ivakina <82437520+NataliaIvakina@users.noreply.github.com> Date: Mon, 1 Dec 2025 14:53:28 +0100 Subject: [PATCH 2/2] Fix the syntax and refine the style --- .../pages/backup-restore/online-backup.adoc | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/modules/ROOT/pages/backup-restore/online-backup.adoc b/modules/ROOT/pages/backup-restore/online-backup.adoc index 8e77e8fee..a4713b3a4 100644 --- a/modules/ROOT/pages/backup-restore/online-backup.adoc +++ b/modules/ROOT/pages/backup-restore/online-backup.adoc @@ -275,21 +275,21 @@ This needs to be changed if backups are to be taken from another machine. [[online-backup-memory]] === Memory configuration -The following options are available for configuring the memory allocated to the backup client: - -* Configure heap size for the backup:: +You can configure the memory allocated to the backup client in several ways: +* Configure heap size: ++ `HEAP_SIZE` configures the maximum heap size allocated for the backup process. -This is done by setting the environment variable `HEAP_SIZE` before starting the operation. +Define the variable `HEAP_SIZE` before starting the operation. If not specified, the Java Virtual Machine chooses a value based on the server resources. -* Configure page cache for the backup:: - -The page cache size can be configured by using the `--pagecache` option of the `neo4j-admin database backup` command. - -* Modify the memory settings in the _neo4j.conf_ file:: +* Configure page cache: ++ +Set the page cache size with the `--pagecache` option of the `neo4j-admin database backup` command. -You can also use the `--additional-config` option of the `neo4j-admin database backup` command to override the memory configurations in the _neo4j.conf_ file. +* Override the memory settings: ++ +Use the `--additional-config` option of the `neo4j-admin database backup` command to override the memory configurations in the _neo4j.conf_ file. [TIP]