Skip to content

Commit

Permalink
Increase process memory
Browse files Browse the repository at this point in the history
  • Loading branch information
clementbiron authored Jul 15, 2024
1 parent 2cec4a5 commit 5d4ddba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deployment/pm2.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module.exports = {
restart_delay: 3 * 60 * 60 * 1000, // likely related to a connectivity problem that will take some time to be fixed
log_date_format: "YYYY-MM-DD HH:mm Z",
env: {
"NODE_OPTIONS": "--max-old-space-size=4096", // Avoid `FATAL ERROR: Reached heap limit Allocation failed`
"NODE_OPTIONS": "--max-old-space-size=7168", // Avoid `FATAL ERROR: Reached heap limit Allocation failed`
}
},
{
Expand Down

0 comments on commit 5d4ddba

Please sign in to comment.