nuxt产生extractCss致命错误:接近堆限制分配的无效标记压缩失败

时间:2019-12-11 16:57:00

标签: nuxt.js

我尝试优化网站的性能,因此尝试使用基本配置“ extractCSS”,但是在“ nuxt generate”期间出现致命错误,非常诚恳,我不知道在哪里查找。 在我的控制终端中收到的错误的详细信息下方,如有必要,我可以不知所措

  1. 添加配置“ extractCss”基本文档
  2. nuxt生成
  3. 无限循环和致命错误

... 08:47:59 ℹ生产版本08:48:01 ✔生成器初始化08:48:01 ✔Nuxt文件生成08:48:01

●客户█████████████████████████建筑物(66%)516/549模块33处于活动状态  node_modules / axios / lib / utils.js

◯服务器

<---后几个GC --->

[27222:0x37883e0] 1597313 ms:清除1278.0(1437.7)-> 1262.9(1438.2)MB,25.6 / 0.0 ms(平均mu = 0.323,当前mu = 0.224)分配失败 [27222:0x37883e0] 1597625 ms:清除1278.7(1438.2)-> 1267.7(1438.2)MB,28.2 / 0.0 ms(平均mu = 0.323,当前mu = 0.224)分配失败 [27222:0x37883e0] 1597786 ms:清除1279.5(1438.2)-> 1268.8(1440.2)MB,29.4 / 0.0 ms(平均亩= 0.323,当前亩= 0.224)分配失败

<--- JS堆栈跟踪--->

==== JS堆栈跟踪======================================== =

0: ExitFrame [pc: 0x2e65e67dbe1d]
1: StubFrame [pc: 0x2e65e6808de2]

安全上下文:0x2f3de9e1e6e9     2:/ *匿名 /(又名/ 匿名 /)[0x2b7c8f454cd1] [/var/www/immobiliere_essaouira/view/node_modules/postcss-colormin/dist/colours.js:71] [ bytecode = 0x2c6954485b81 offset = 361](this = 0x22acc35026f1,/ 匿名 / = 0x02eb90657291,/ 匿名 / = 0x22acc35029a1,/ 匿名* / = 0x2f。

致命错误:接近堆限制的无效标记紧凑分配失败-JavaScript堆内存不足  1:0x8f9d10节点:: Abort()[/ usr / local / bin / node]  2:0x8f9d5c [/ usr / local / bin / node]  3:0xaffd0e v8 :: Utils :: ReportOOMFailure(v8 :: internal :: Isolate *,char const *,bool)[/ usr / local / bin / node]  4:0xafff44 v8 :: internal :: V8 :: FatalProcessOutOfMemory(v8 :: internal :: Isolate *,char const *,bool)[/ usr / local / bin / node]  5:0xef4152 [/ usr / local / bin / node]  6:0xef4258 v8 ::内部::堆:: CheckInvalidMarkCompact(无符号长双精度)[/ usr / local / bin / node]  7:0xf00332 v8 :: internal :: Heap :: PerformGarbageCollection(v8 :: internal :: GarbageCollector,v8 :: GCCallbackFlags)[/ usr / local / bin / node]  8:0xf00c64 v8 :: internal :: Heap :: CollectGarbage(v8 :: internal :: AllocationSpace,v8 :: internal :: GarbageCollectionReason,v8 :: GCCallbackFlags)[/ usr / local / bin / node]  9:0xf038d1 v8 :: internal :: Heap :: AllocateRawWithRetryOrFail(int,v8 :: internal :: AllocationSpace,v8 :: internal :: AllocationAlignment)[/ usr / local / bin / node] 10:0xecc9c6 v8 :: internal :: Factory :: AllocateRawArray(int,v8 :: internal :: PretenureFlag)[/ usr / local / bin / node] 11:0xecd24a v8 :: internal :: Factory :: NewFixedArrayWithFiller(v8 :: internal :: Heap :: RootListIndex,int,v8 :: internal :: Object *,v8 :: internal :: PretenureFlag)[/ usr / local / bin /节点] 12:0xecd2f0 v8 :: internal :: Handle v8 :: internal :: Factory :: NewFixedArrayWithMap(v8 :: internal :: Heap :: RootListIndex,int,v8 :: internal :: PretenureFlag)[/ usr / local / bin /节点] 13:0x100c7d9 v8 :: internal :: HashTable :: New(v8 :: internal :: Isolate *,int,v8 :: internal :: PretenureFlag,v8 :: internal :: MinimumCapacity)[/ usr / local / bin / node ] 14:0x10316d2 v8 :: internal :: BaseNameDictionary :: EnsureCapacity(v8 :: internal :: Handle,int)[/ usr / local / bin / node] 15:0x10318a0 v8 :: internal :: BaseNameDictionary :: AddNoUpdateNextEnumerationIndex(v8 :: internal :: Handle,v8 :: internal :: Handle,v8 :: internal :: Handle,v8 :: internal :: PropertyDetails,int *)[ / usr / local / bin / node] 16:0x1031b4b v8 :: internal :: BaseNameDictionary :: Add(v8 :: internal :: Handle,v8 :: internal :: Handle,v8 :: internal :: Handle,v8 :: internal :: PropertyDetails,int *)[ / usr / local / bin / node] 17:0x1195188 v8 :: internal :: Runtime_AddDictionaryProperty(int,v8 :: internal :: Object **,v8 :: internal :: Isolate *)[/ usr / local / bin / node] 18:0x2e65e67dbe1d 中止

0 个答案:

没有答案