Terminal message while trying to create a production build
<--- Last few GCs --->
[4616:000001C1B8A3CAD0] 311327 ms: Mark-sweep 1327.4 (1428.7) -> 1326.6 (1429.7) MB, 1734.1 / 0.0 ms (average mu = 0.059, current mu = 0.014) allocation failure scavenge might not succeed
[4616:000001C1B8A3CAD0] 312224 ms: Mark-sweep 1327.9 (1429.7) -> 1327.5 (1430.7) MB, 891.9 / 0.0 ms (average mu = 0.041, current mu = 0.006) allocation failure scavenge might not succeed
<--- JS stacktrace --->
==== JS stack trace =========================================
0: ExitFrame [pc: 0000027DE8B096E0]
Security context: 0x025d45f9e6e9 <JSObject>
1: stringSlice(aka stringSlice) [000000A621B918F9] [buffer.js:~589] [pc=0000027DEAB107FE](this=0x0017ad0826f1 <undefined>,buf=0x0077bf833cf9 <Uint8Array map = 000003C0BAAD2F31>,encoding=0x00a621bd0361 <String[3]: hex>,start=0,end=5)
2: apply [000001A80D12D601] [E:\ITARIUMTECHNOLOGIES\SygentoFrontend\node_modules\webpack\lib\optimize\ConcatenatedMod...
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
1: 00007FF7FB56F04A v8::internal::GCIdleTimeHandler::GCIdleTimeHandler+5114
2: 00007FF7FB54A0C6 node::MakeCallback+4518
...
I am not able to found the exact cause of this error!! Dev build has not issued its just production build problem with angular and specific to project ** How can I resolve it? **