After including Handsontable angular project Build fails because of memory overuse

Tags: #<Tag:0x00007efc728cab20>

I am using latest version of handsontable and angular version is 12 before that our daily builds were working smoothly but after integration it fails to build code and consume massive amount of memory while i get to see a lot of warning in my console which states that
CommonJS or AMD dependencies can cause optimization bailouts."
my app is running in docker container
@aleksandra_budnik

[20426707.852044] Out of memory: Kill process 11686 (ng build --prod) score 430 or sacrifice child

[20426707.853536] Killed process 11686 (ng build --prod) total-vm:3300120kB, anon-rss:1713388kB, file-rss:0kB, shmem-rss:0kB

Hi @talhach891

that is a common message that can appear in any project. Please check my colleague’s reply in this thread CommonJS or AMD dependencies can cause optimization bailouts