debug
This commit is contained in:
parent
3a7416c012
commit
215bc5d370
1 changed files with 1 additions and 1 deletions
|
|
@ -2097,7 +2097,7 @@ const heapChecker = setInterval(() => {
|
|||
const memoryUsage = process.memoryUsage();
|
||||
console.log(`[Memory Log] heapUsed: ${(memoryUsage.heapUsed / 1024 / 1024).toFixed(2)} MB`);
|
||||
|
||||
if (memoryUsage.heapUsed > 0.3 * 1024 * 1024 * 1024) {
|
||||
if (memoryUsage.heapUsed > 1 * 1024 * 1024 * 1024) {
|
||||
clearInterval(heapChecker);
|
||||
console.log('[HeapDump] Starting snapshot...');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue