Fix OOM Detection
This commit is contained in:
parent
1e00de4c95
commit
9cb629f308
1 changed files with 1 additions and 2 deletions
|
@ -121,7 +121,7 @@ const quiltFabricInternalsAnalyzer: Analyzer = async (text) => {
|
||||||
};
|
};
|
||||||
|
|
||||||
const oomAnalyzer: Analyzer = async (text) => {
|
const oomAnalyzer: Analyzer = async (text) => {
|
||||||
if (text.includes('java.lang.OutOfMemoryError: Java heap space')) {
|
if (text.includes('java.lang.OutOfMemoryError')) {
|
||||||
return [
|
return [
|
||||||
'Out of Memory',
|
'Out of Memory',
|
||||||
'Allocating more RAM to your instance could help prevent this crash.',
|
'Allocating more RAM to your instance could help prevent this crash.',
|
||||||
|
@ -226,7 +226,6 @@ export async function parseLog(s: string): Promise<MessageEmbed | null> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!log) return null;
|
if (!log) return null;
|
||||||
|
|
||||||
const embed = new MessageEmbed()
|
const embed = new MessageEmbed()
|
||||||
.setTitle('Log analysis')
|
.setTitle('Log analysis')
|
||||||
.setColor('DARK_GREEN');
|
.setColor('DARK_GREEN');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue