Netlify Build Timeout

I’m facing a problem when deploying my site on Netlify. The build process fails with a timeout error. Below are the relevant log messages from the Netlify build output:

  • Error Message: Failed during stage 'building site': Command did not finish within the time limit
  • Timeout: The build process times out after approximately 18 minutes (10:43:42 PM: Execution timed out after 17m59.952029417s).

This issue has occurred suddenly; it wasn’t occurred in previous deployments.
Any guidance or suggestions would be greatly appreciated!

If you share the site name/ID, we can bump the limit for you.

@hrishikesh www.biharmuseum.org.

@hrishikesh Do I need to provide more information, or is this enough?

The limit has been increased to an hour.

Hey, I’m getting this error now

FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory

Hi this has happened before I believe your build is actually exceeding the default limits of node.js.

Your javascript (node) heap ran out of memory. You can increase it by adding an environment variable in your dashboard.