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

chore: increase node memory limit to 2GB #482

Merged
merged 3 commits into from
Oct 19, 2020
Merged

chore: increase node memory limit to 2GB #482

merged 3 commits into from
Oct 19, 2020

Conversation

karrui
Copy link
Contributor

@karrui karrui commented Oct 19, 2020

Problem

Sometimes, when trying to run the application in Docker locally, the node environment can run out of memory due to all the Typescript/Javascript/Webpack processes.

Screenshot 2020-10-19 at 9 51 08 AM

This PR increases the memory available to the node process to 2GB through trial and error. (Default is 500MB > 1GB still fails > try 2GB)

This change only affects local development, as only docker-dev npm script is updated to the new memory limits.

package.json Outdated Show resolved Hide resolved
docker-compose.yml Outdated Show resolved Hide resolved
@karrui karrui merged commit 2d42c3d into develop Oct 19, 2020
@karrui karrui deleted the fix/increase-heap branch October 19, 2020 09:23
@tshuli tshuli mentioned this pull request Oct 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants