Patch out-of-memory and dgeni dependency