Page History
...
Code Block |
---|
# Set the "NODE_OPTIONS" environment variable on your system. This example will work for Linux/macOS # Ensure the "max-old-space-size" is set to 4GB (4096MB) or greater. export NODE_OPTIONS=--max-old-space-size=4096 |
NOTE: More discussion on this issue can be found in https://github.com/DSpace/dspace-angular/issues/2259 It appears to only occur on systems where the default memory allocated for Node isn't sufficient to build DSpace in development mode.
This same setting can may also be used in production scenarios to give Node.js more memory to work with. See Performance Tuning DSpace for more details.
...
Overview
Content Tools