Skip to content

Memory Issue Failed Frontend Build

Muhammad Tariq edited this page May 6, 2021 · 4 revisions

Problem Statement

The build failed because the process exited too early. This probably means the system ran out of memory or someone called kill -9 on the process.

Possible solution steps

  • Remove dangling and old images from deployment server

  • Reboot deployment server might be helpful

  • Change in max-old-size can help. Change the value and rebuild. react-scripts --max-old-space-size=1024 build

  • Clean Jenkins log
    Remove the durable folder from Jenkins
    wrapper script does not seem to be touching the log file in /var/lib/jenkins/workspace/Exam105-FrontEnd@tmp/durable-05949b96

Clone this wiki locally