I am using yarn and trying to build my project.
The issue that happens is memory heap goes out of its actual size which fails the build.
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
What could be the issue? or how to identify which package might be causing this? I don't think making node options to increase memory size is a solution. That's why I am posting this here.