Page History
...
Code Block | ||
---|---|---|
| ||
ProxyPreserveHost on RequestHeader set X-Forwarded-Proto https |
Javascript heap out of memory
On some versions of Node.js or some operating systems, sites have reported seeing a "Javascript heap out of memory" error when trying to run the User Interface in development mode (`yarn start:dev`). This does not seem to occur on every system, but the fix is always the same. You should ensure that Node.js is given at least 4GB of memory via the "NODE_OPTIONS" environment variable
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 |
This same setting can also be used in production scenarios to give Node.js more memory to work with. See Performance Tuning DSpace for more details.
Solr responds with "Expected mime type application/octet-stream but got text/html" (404 Not Found)
...
Overview
Content Tools