Working on a react project. when I try to run npm run build it shows java script heap out of memory error.
I tried to find memory leak but no memory leak found but it is a single page application so when page is renders at the time compiled code only increase shallow size.
The same project and same code build successfully by my colleague laptop.
"build": "react-scripts --max_old_space_size=4096 bild" in my laptop I used above command at package.json file build works correctly.
Now my dought is maybe my project have a any memory leak above the command will it work or not?
Above command will it work at gitlab or not?