Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/usage/mend-hosted/.pages
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ nav:
- 'Credentials': 'credentials.md'
- 'Migrating Secrets': 'migrating-secrets.md'
- 'Github.com Token': 'github-com-token.md'
- 'FAQs': 'faq.md'
11 changes: 11 additions & 0 deletions docs/usage/mend-hosted/faq.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# 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`](https://docs.renovatebot.com/configuration-options/#toolsettingsnodemaxmemory), to tune the maximum memory available for the `pnpm`/`yarn` commands to use this.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use relative link


Mend-hosted apps don't set a maximum allowed `nodeMaxMemory`, so you can use [the upper limit of memory from your plan](./overview.md) as the maximum limit.

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