Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion modules/ROOT/pages/performance/memory-configuration.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,15 @@ image::neo4j-memory-management.svg[title="Neo4j memory management", role="middle
*OS memory*::
Some memory must be reserved for running the processes of the operating system itself.
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.
If you do not leave enough space for the OS, it will start to swap memory to disk, which will heavily affect performance.
+
1GB is a good starting point for a server that is dedicated to running Neo4j.
However, there are cases where the amount reserved for the OS is significantly larger than 1GB, such as servers with exceptionally large RAM.
+
[NOTE]
====
If you do not leave enough space for the OS, it will start to swap memory to disk, which will heavily affect performance.
Therefore, it is generally recommended to have swap turned off for a Neo4j dedicated server.
====

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