You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pages/database-management/system-configuration.mdx
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,6 +56,11 @@ For optimal system performance, the `vm.max_map_count` value should be chosen in
56
56
accordance with your system's RAM, aiming for approximately one memory map area
57
57
per 128 KB of system memory.
58
58
59
+
<Callouttype="warning">
60
+
The recommended values below are starting points and may need to be increased depending on your workload.
61
+
If you encounter `munmap` errors or crashes due to `bad_alloc` errors, you should try increasing the `vm.max_map_count` value beyond the recommended amount.
Critical system settings for high-throughput workloads, including `vm.max_map_count` configuration.
79
+
77
80
-[Choosing the right Memgraph flag set](#choosing-the-right-memgraph-flag-set) <br />
78
81
Memgraph offers specific flags to optimize streaming graph updates.
79
82
@@ -90,6 +93,25 @@ additional best practices tailored for performance, stability, and scalability i
90
93
-[Queries that best suit your workload](#queries-that-best-suit-your-workload)
91
94
Learn how to optimize update queries coming at the database.
92
95
96
+
## Hardware configuration
97
+
98
+
High-throughput workloads place significant demands on system resources, making proper hardware configuration essential for stable and performant operations.
99
+
100
+
One of the most critical system settings for high-throughput workloads is configuring the kernel parameter `vm.max_map_count`.
101
+
This setting ensures that the system can allocate enough virtual memory areas, which is essential for avoiding memory-related issues.
102
+
103
+
<Callouttype="warning">
104
+
The standard recommended values for `vm.max_map_count` may be insufficient for high-throughput operations.
105
+
If you encounter `munmap` errors or crashes due to `bad_alloc` errors, you should try increasing the `vm.max_map_count` value beyond the recommended amount.
106
+
</Callout>
107
+
108
+
You can find detailed setup instructions and recommended values in our
0 commit comments