At times you may find that you encounter an error such as the following while running one of Snyk's CLI commands:
This generally occurs on larger projects where the default amount of memory allocated by node (1.5gb) is insufficient to complete the command successfully.
You can increase the amount of memory allocated to the command by running the following command prior to running Snyk:
You can also increase this number, if necessary. We've seen folks need to increase this up to 14gb for some larger projects!