maranran / eslint-plugin-vue-a11y

Static AST checker for accessibility rules on elements in .vue
MIT License
161 stars 21 forks source link

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory #11

Open carcinocron opened 5 years ago

carcinocron commented 5 years ago
/home/forge/resources/assets/js/pages/watchlist/index.vue
  1:1  error  Definition for rule 'vue-a11y/rule-name' was not found  vue-a11y/rule-name
$ yarn run eslint
yarn run v1.12.3
$ eslint -c .eslintrc.js --ignore-path .eslintignore --report-unused-disable-directives ./resources/assets/js/**/*.{js,vue}
Aborted (core dumped)

<--- Last few GCs --->

[24260:0x2826b30]    50611 ms: Scavenge 1356.6 (1434.4) -> 1341.1 (1435.4) MB, 2.8 / 0.0 ms  (average mu = 0.366, current mu = 0.394) allocation failure 
[24260:0x2826b30]    50622 ms: Scavenge 1356.7 (1435.4) -> 1341.2 (1436.4) MB, 2.7 / 0.0 ms  (average mu = 0.366, current mu = 0.394) allocation failure 
[24260:0x2826b30]    50632 ms: Scavenge 1356.8 (1436.4) -> 1341.4 (1437.4) MB, 3.0 / 0.0 ms  (average mu = 0.366, current mu = 0.394) allocation failure 

<--- JS stacktrace --->

==== JS stack trace =========================================

    0: ExitFrame [pc: 0x13880f85be1d]
    1: StubFrame [pc: 0x13880f8134b0]
Security context: 0x17b31791e6e9 <JSObject>
    2: /* anonymous */ [0x3b75a65badf1] [/home/mrp6/code/wa/node_modules/functional-red-black-tree/rbtree.js:~67] [pc=0x13880fb675bc](this=0x2555c47212c9 <RedBlackTree map = 0x2896b180a761>,key=11724890,value=0x2555c4720ab9 <Object map = 0x2896b180a919>)
    3: insert [0x372c1b20b9e1] [/home/mrp6/code/wa/node_modules/esl...

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
 1: 0x8dc510 node::Abort() [/usr/bin/node]
 2: 0x8dc55c  [/usr/bin/node]
 3: 0xad9b5e v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [/usr/bin/node]
 4: 0xad9d94 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/usr/bin/node]
 5: 0xec7bf2  [/usr/bin/node]
 6: 0xec7cf8 v8::internal::Heap::CheckIneffectiveMarkCompact(unsigned long, double) [/usr/bin/node]
 7: 0xed3dd2 v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [/usr/bin/node]
 8: 0xed4704 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/usr/bin/node]
 9: 0xed7371 v8::internal::Heap::AllocateRawWithRetryOrFail(int, v8::internal::AllocationSpace, v8::internal::AllocationAlignment) [/usr/bin/node]
10: 0xea07f4 v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationSpace) [/usr/bin/node]
11: 0x114018e v8::internal::Runtime_AllocateInNewSpace(int, v8::internal::Object**, v8::internal::Isolate*) [/usr/bin/node]
12: 0x13880f85be1d 
Aborted (core dumped)
error Command failed with exit code 134.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Happens on both eslint 4 and 5.