Skip to content

Frequently Asked Questions

I'm hitting a timeout / kernel-out-of-memory limit with a pnpm/yarn project

If you're seeing that your jobs are regularly hitting a timeout / kernel-out-of-memory, this might be due to a package manager trying to update a large set of dependencies.

On Mend-hosted apps, it is recommended to use the repo-level configuration, toolSettings.nodeMaxMemory, to tune the maximum memory available for the pnpm/yarn commands to use this.

Mend-hosted apps don't set a maximum allowed nodeMaxMemory, so you can use the upper limit of memory from your plan as the maximum limit.

It is recommended to set this between 1.5GB and 2.5GB but may require tweaking according to your repository.

Note

It is at the discretion of Mend to raise the memory limit for repositories, in a similar way to how there are increased resources for Open Source projects on Renovate Cloud.