resolove memory allocation issue causing Yarn to fail