mirror of https://github.com/apache/cassandra
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:
parent
50ddce8455
commit
8f49d37775
|
|
@ -200,7 +200,7 @@ public final class JVMStabilityInspector
|
|||
{
|
||||
if (FORCE_HEAP_OOM_IGNORE_SET.contains(oom.getMessage()))
|
||||
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.
|
||||
List<long[]> ignored = new ArrayList<>();
|
||||
while (true)
|
||||
|
|
|
|||
Loading…
Reference in New Issue