feat(analyze_logs): detect Windows OOM

Co-authored-by: Wesley Bryie <wes@wesbryie.tech>
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu 2024-05-01 11:12:51 +02:00
parent b37602a263
commit 0838418eb2

View file

@ -166,7 +166,7 @@ fn oom(log: &str) -> Issue {
"Allocating more RAM to your instance could help prevent this crash.".to_string(),
);
let found = log.contains("java.lang.OutOfMemoryError");
let found = log.contains("java.lang.OutOfMemoryError") || log.contains("-805306369");
found.then_some(issue)
}