Skip to content

Commit e226621

Browse files
authored
Added GC known issue (elastic#102149)
1 parent 3f13f13 commit e226621

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

docs/reference/release-notes/8.7.1.asciidoc

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,23 @@ This issue is fixed in 8.8.0.
1818

1919
include::8.6.0.asciidoc[tag=reconciliation-imbalance-known-issue]
2020

21+
// tag::no-preventive-gc-issue[]
22+
* High Memory Pressure due to a GC JVM setting change
23+
+
24+
This version of Elasticsearch is bundled with JDK 20. In JDK 20
25+
https://bugs.openjdk.org/browse/JDK-8293861[Preventive GC is disabled by default].
26+
This may lead to increased memory pressure and an increased number of CircuitBreakerExceptions when retrieving large
27+
documents under some load patterns. (issue: {es-issue}99592[#99592])
28+
+
29+
If this change affects your use of Elasticsearch, consider re-enabling the previous behaviour
30+
by adding the JVM arguments `-XX:+UnlockDiagnosticVMOptions -XX:+G1UsePreventiveGC` (reference:
31+
https://www.oracle.com/java/technologies/javase/20-relnote-issues.html#JDK-8293861[JDK 20 release notes]). It is
32+
important to note that this workaround is temporary and works only with JDK 20, which is bundled with Elasticsearch up
33+
to version 8.10.2 inclusive. Successive versions are bundling JDK 21+, where this setting
34+
https://bugs.openjdk.org/browse/JDK-8297639[has been removed]. Specifying those JVM arguments will prevent the
35+
JVM (and therefore Elasticsearch Nodes) from starting.
36+
// end::no-preventive-gc-issue[]
37+
2138
[[bug-8.7.1]]
2239
[float]
2340
=== Bug fixes

0 commit comments

Comments
 (0)