Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add known issue about watcher running out of memory #2977

Merged
merged 3 commits into from
Jan 28, 2021
Merged
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
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,8 @@ Minor versions of PWA Studio & Venia released between typical Magento releases w

- If you are using Multi-Source Inventory(MSI), a GraphQL issue prevents users from adding a configurable product to the shopping cart on non-default store views.
- Prerender feature is unable to cache HTML on Fastly enabled environments.
- The `yarn watch` process may run out of memory if left running for an extended amount of time.
If an error occurs because of this, restart the watcher.

## Upgrading from a previous version

Expand Down
6 changes: 6 additions & 0 deletions pwa-devdocs/src/pwa-buildpack/troubleshooting/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Paste the result console output into the issue. Thank you!
* [Webpack hangs for a long time before beginning compilation](#webpack-hangs)
* [Browser cannot resolve the `.local.pwadev` site](#cannot-resolve-site)
* [Browser does not trust the generated SSL certificate](#untrusted-ssl-cert)
* [Watcher runs out of memory](#watcher-out-of-memory)

## Resolutions

Expand Down Expand Up @@ -95,6 +96,11 @@ Some users have suggested deleting the `devcert` folder to trigger certificate r
${User}\AppData\Local\devcert
```

**Watcher runs out of memory**{:#watcher-out-of-memory}

If you leave the `yarn watch` process running for an extended amount of time, it runs out of memory and shows an error.
The solution is to restart the watch process and make sure it does not run for an extended amount of time.

[create an issue]: https://github.com/magento/pwa-buildpack/issues
[Slack channel]: https://magentocommeng.slack.com/messages/C71HNKYS2/team/UAFV915FB/
[host file]: https://en.wikipedia.org/wiki/Hosts_(file)
Expand Down