Skip to content

Commit 120bcee

Browse files
authored
Update documentation to include recommendations for SWAP (#1883) (#1885)
Cherry-picked from #1883
1 parent 89e44a8 commit 120bcee

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

modules/ROOT/pages/performance/memory-configuration.adoc

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,15 @@ image::neo4j-memory-management.svg[title="Neo4j memory management", role="middle
1111
*OS memory*::
1212
Some memory must be reserved for running the processes of the operating system itself.
1313
It is not possible to explicitly configure the amount of RAM that should be reserved for the operating system, as this is what RAM remains available after configuring Neo4j.
14-
If you do not leave enough space for the OS, it will start to swap memory to disk, which will heavily affect performance.
1514
+
1615
1GB is a good starting point for a server that is dedicated to running Neo4j.
1716
However, there are cases where the amount reserved for the OS is significantly larger than 1GB, such as servers with exceptionally large RAM.
17+
+
18+
[NOTE]
19+
====
20+
If you do not leave enough space for the OS, it will start to swap memory to disk, which will heavily affect performance.
21+
Therefore, it is generally recommended to have swap turned off for a Neo4j dedicated server.
22+
====
1823

1924
*JVM Heap*::
2025
The JVM heap is a separate dynamic memory allocation that Neo4j uses to store instantiated Java objects.

0 commit comments

Comments
 (0)