Hello, When I build the DSpace 7 frontend I set the environment parameter "NODE_OPTIONS=--max_old_space_size=4096" to avoid Javascript out of memory errors. So the yarn build command becomes "NODE_OPTIONS=--max_old_space_size=4096 yarn run build:prod". There is more information in the DSpace documentation at: https://wiki.lyrasis.org/display/DSDOC7x/Installing+DSpace#InstallingDSpace-Javascriptheapoutofmemory.
Nick On Wednesday, January 8, 2025 at 7:22:22 AM UTC-6 Precious Kapfunde wrote: Good day everyone, I am kindly asking for assistant on the problem I am currently facing. I am installing dspace 7 on ubuntu 22.04 and I got the following error when trying to run yarn run build:prod. My server has 4gb RAM yarn run v1.22.22 $ cross-env NODE_ENV=production yarn run build:ssr $ ng build --configuration production && ng run dspace-angular:server:production Segmentation fault (core dumped) error Command failed with exit code 139. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. error Command failed with exit code 139. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. -- All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx --- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/dspace-tech/2ab5a9e9-e545-4549-bcfd-00c6f0e186c3n%40googlegroups.com.
