Skip to content

Commit fc73a56

Browse files
committed
increase ram limit
1 parent 7995a0d commit fc73a56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ecosystem.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module.exports = {
88
watch: false, // Don't watch files (production only)
99
autorestart: true, // Restart if crash
1010
restart_delay: 5000, // Wait 5 seconds before restarting (to avoid crash loops)
11-
max_memory_restart: '2G', // Restart if using more than 2GB RAM (safe limit for 4GB RAM server)
11+
max_memory_restart: '4G', // Restart if using more than 2GB RAM (safe limit for 4GB RAM server)
1212
env: {
1313
NODE_ENV: 'production', // Environment variable for production
1414
PORT: 3000 // Optional, set your app's port

0 commit comments

Comments
 (0)