This is an automated email from the ASF dual-hosted git repository.
shishkovilja pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite.git
The following commit(s) were added to refs/heads/master by this push:
new a5a1f91e0c5 IGNITE-26356 Clarify recommendations for
-XX:MaxDirectMemorySize in docs (#12347)
a5a1f91e0c5 is described below
commit a5a1f91e0c5558516217e2dfb487d774a1b8b79f
Author: Didar Shayarov <[email protected]>
AuthorDate: Tue Oct 7 10:00:56 2025 +0300
IGNITE-26356 Clarify recommendations for -XX:MaxDirectMemorySize in docs
(#12347)
---
docs/_docs/perf-and-troubleshooting/memory-tuning.adoc | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/docs/_docs/perf-and-troubleshooting/memory-tuning.adoc
b/docs/_docs/perf-and-troubleshooting/memory-tuning.adoc
index 1741e3d490a..5b792d271fa 100644
--- a/docs/_docs/perf-and-troubleshooting/memory-tuning.adoc
+++ b/docs/_docs/perf-and-troubleshooting/memory-tuning.adoc
@@ -122,10 +122,8 @@ Note that 10GB heap is used as an example and a smaller
heap can be enough for y
[NOTE]
====
-//TODO: Is this still valid? What does it do?
-If you use link:persistence/native-persistence[Ignite native persistence], we
recommend that you set the
-`MaxDirectMemorySize` JVM parameter to `walSegmentSize * 4`.
-With the default WAL settings, this value is equal to 256MB.
+If you use link:persistence/native-persistence[Ignite native persistence], we
recommend relying on the JVM default configuration of direct memory. By
default, the JVM allows direct buffers grow up to the Java heap size (-Xmx),
which is sufficient in most cases.
+If you need to override the default limit for direct memory size, you should
set `-XX:MaxDirectMemorySize` to at least `walSegmentSize * 4` (256 MB with the
default WAL settings).
====
=== Advanced Memory Tuning