CASSANDRA-19831: Clarify off-heap OOM error msg

Update the log string in JVMStabilityInspector to prevent operators from
mistakenly increasing heap size when an off-heap OOM occurs.

Patch by Isaac Liu; reviewed by TBD for CASSANDRA-19831
This commit is contained in:
liuisaac 2026-07-03 21:27:02 -04:00
parent 50ddce8455
commit 8f49d37775
1 changed files with 1 additions and 1 deletions

View File

@ -200,7 +200,7 @@ public final class JVMStabilityInspector
{ {
if (FORCE_HEAP_OOM_IGNORE_SET.contains(oom.getMessage())) if (FORCE_HEAP_OOM_IGNORE_SET.contains(oom.getMessage()))
return; return;
logger.error("Force heap space OutOfMemoryError in the presence of", oom); logger.error("Off-heap OOM forcing heap space OutOfMemoryError after OutOfMemoryError:", oom);
// Start to produce heap space OOM forcibly. // Start to produce heap space OOM forcibly.
List<long[]> ignored = new ArrayList<>(); List<long[]> ignored = new ArrayList<>();
while (true) while (true)