Closed longyigongzi closed 3 weeks ago
I rum cmd npm run build got a crush.then i found when compile 'third-party': "./assets/third-party.js" will happen this issue .
Is there any tips for this.
`root@OCTEONTX:/home/ntopng/ntopng# npm run build
ntopng@5.7.0 build npm run css:lint && webpack --mode=production --config webpack.prod.js; rm -fr httpdocs/dist/; mv httpdocs/tmp-dist/ httpdocs/dist;rollup -c ntopng@5.7.0 css:lint stylelint './http_src/*/.scss' || true
ntopng@5.7.0 build npm run css:lint && webpack --mode=production --config webpack.prod.js; rm -fr httpdocs/dist/; mv httpdocs/tmp-dist/ httpdocs/dist;rollup -c
ntopng@5.7.0 css:lint stylelint './http_src/*/.scss' || true
<--- Last few GCs --->
[12686:0xfffe84000d60] 3474 ms: Scavenge 157.8 (177.4) -> 149.4 (181.4) MB, 12.1 / 0.0 ms (average mu = 1.000, current mu = 1.000) allocation failure; [12686:0xfffe84000d60] 3636 ms: Scavenge 162.2 (181.9) -> 153.8 (185.6) MB, 9.7 / 0.0 ms (average mu = 1.000, current mu = 1.000) allocation failure; [12686:0xfffe84000d60] 3799 ms: Scavenge 166.4 (186.1) -> 157.9 (190.1) MB, 11.6 / 0.0 ms (average mu = 1.000, current mu = 1.000) allocation failure; `
I have try increase memory , but it does't work .
"fix-memory-limit": "cross-env LIMIT=8048 increase-memory-limit",
I rum cmd npm run build got a crush.then i found when compile 'third-party': "./assets/third-party.js" will happen this issue .
Is there any tips for this.
`root@OCTEONTX:/home/ntopng/ntopng# npm run build
<--- Last few GCs --->
[12686:0xfffe84000d60] 3474 ms: Scavenge 157.8 (177.4) -> 149.4 (181.4) MB, 12.1 / 0.0 ms (average mu = 1.000, current mu = 1.000) allocation failure; [12686:0xfffe84000d60] 3636 ms: Scavenge 162.2 (181.9) -> 153.8 (185.6) MB, 9.7 / 0.0 ms (average mu = 1.000, current mu = 1.000) allocation failure; [12686:0xfffe84000d60] 3799 ms: Scavenge 166.4 (186.1) -> 157.9 (190.1) MB, 11.6 / 0.0 ms (average mu = 1.000, current mu = 1.000) allocation failure; `