fix(crash): JVM_32BIT pattern.

This commit is contained in:
huanghongxun
2021-10-10 21:18:19 +08:00
parent 5f98c8c8bb
commit fca78cf419
2 changed files with 9 additions and 9 deletions

View File

@@ -37,7 +37,7 @@ public final class CrashReportAnalyzer {
OPENJ9(Pattern.compile("(Open J9 is not supported|OpenJ9 is incompatible)")),
TOO_OLD_JAVA(Pattern.compile("java\\.lang\\.UnsupportedClassVersionError: (.*?) version (?<expected>\\d+)\\.0"), "expected"),
JVM_32BIT(Pattern.compile("Could not reserve enough space for 1048576KB object heap")),
JVM_32BIT(Pattern.compile("Could not reserve enough space for (.*?) object heap")),
// Some mods/shader packs do incorrect GL operations.
GL_OPERATION_FAILURE(Pattern.compile("1282: Invalid operation")),