How to allocate more memory to my Virtual Machine running on Fedora to avoid Heap out of Memory Error
The solution for me was to set GENERATE_SOURCEMAP=false
in the .env.production file as described here.
A better solution (although more time consuming) is code split the huge files ( >1MB)