-
Notifications
You must be signed in to change notification settings - Fork 0
Memory Issue Failed Frontend Build
Muhammad Tariq edited this page May 6, 2021
·
4 revisions
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.
-
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 -
GENERATE_SOURCEMAP=falsehttps://stackoverflow.com/questions/62663167/dockerizing-react-in-production-mode-fatal-error-ineffective-mark-compacts-nea