This commit is contained in:
jejolare 2025-04-28 17:41:56 +07:00
parent 4c99aed79e
commit 09ff66cf05

View file

@ -2088,7 +2088,7 @@ const heapChecker = setInterval(() => {
const memoryUsage = process.memoryUsage();
console.log(`[Memory Log] heapUsed: ${(memoryUsage.heapUsed / 1024 / 1024).toFixed(2)} MB`);
if (memoryUsage.heapUsed > 0.05 * 1024 * 1024 * 1024) {
if (memoryUsage.heapUsed > 0.5 * 1024 * 1024 * 1024) {
clearInterval(heapChecker);
const filename = join('/tmp/explorer', `heap-${Date.now()}.heapsnapshot`);