How to avoid heap out of memory with angular production application?

I use a shared gitlab runner for build and deploy my application. When I run my CI pipeline I get this error :

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory

How can I increase momory in a shared gitlab runner ? I need help so any solution is greatly appreciated :slight_smile:

Thanks in advance,
Maximilien

1 Like

I am facing the same issue

Hello, I have always this issue, did you found a solution ?