JavaScript heap out of memory - ability to set max_old_space_size? #543

Closed
opened 2025-08-09 17:16:41 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @mcm-ham on 7/28/2017

I keep getting this error preventing HMR from working when I use AddNodeServices and UseWebpackDevMiddleware:

fail: Microsoft.AspNetCore.NodeServices[0]
      FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
fail: Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware[0]
      An unhandled exception has occurred while executing the request

Is it possible to specify the argument max_old_space_size when starting node?

*Originally created by @mcm-ham on 7/28/2017* I keep getting this error preventing HMR from working when I use `AddNodeServices` and `UseWebpackDevMiddleware`: ``` fail: Microsoft.AspNetCore.NodeServices[0] FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory fail: Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware[0] An unhandled exception has occurred while executing the request ``` Is it possible to specify the argument `max_old_space_size` when starting node?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#543
No description provided.