Describe the bug
When I run the build command the allocated 2 GB memory to v8 engine is exceeded and it gives me an error that heap limit allocation failed.
To Reproduce
Steps to reproduce the behavior:
- Open your terminal in the Preswald directory
- Run
python -m preswald.build frontend
- After modules are transformed the script shuts off
- See error
Expected behavior
The script should run completely and a build should be created.
Screenshots
Environment:
- OS: Ubuntu (8GB RAM)
- Browser: Chrome
- Version: 24
Additional context
By default only 2 GB is allocated to NodeJS's v8 engine and the build takes up more thus giving the error.