Hi experts,
I am having this error when trying to run bids_validator on my folder containing MEG data in BIDS format:
(running under MacOS 10.12.6, and I converted my MEG data using mne-bids (python 3.6).
Any ideas?
Thanks a lot!
(mne) MEGdata $bids-validator WM_MEG_BIDS_2
<--- Last few GCs --->
[34938:0x104000000] 459456 ms: Mark-sweep 1150.5 (1158.1) -> 1150.4 (1157.6) MB, 33.3 / 0.0 ms (average mu = 0.999, current mu = 0.001) last resort GC in old space requested
[34938:0x104000000] 459467 ms: Mark-sweep 1150.4 (1157.6) -> 1150.4 (1157.1) MB, 10.2 / 0.0 ms (average mu = 0.998, current mu = 0.001) last resort GC in old space requested
<--- JS stacktrace --->
==== JS stack trace =========================================
0: ExitFrame [pc: 0x2159cf65be3d]
Security context: 0x11a380c1e6e1 <JSObject>
1: stringSlice(aka stringSlice) [0x11a3a1950669] [buffer.js:594] [bytecode=0x11a3c3d24229 offset=91](this=0x11a35e8026f1 <undefined>,buf=0x11a356660b29 <Uint8Array map = 0x11a34eed1eb1>,encoding=0x11a380c3d819 <String[4]: utf8>,start=0,end=440563208)
2: toString [0x11a3c591e059] [buffer.js:667] [bytecode=0x11a3c3d23d19 offset=145](this=0x11a356660b29...
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
1: 0x10003b125 node::Abort() [/usr/local/bin/node]
2: 0x10003b32f node::OnFatalError(char const*, char const*) [/usr/local/bin/node]
3: 0x1001a8e85 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/usr/local/bin/node]
4: 0x1005742a2 v8::internal::Heap::FatalProcessOutOfMemory(char const*) [/usr/local/bin/node]
5: 0x10057d7a4 v8::internal::Heap::AllocateRawWithRetryOrFail(int, v8::internal::AllocationSpace, v8::internal::AllocationAlignment) [/usr/local/bin/node]
6: 0x10054f594 v8::internal::Factory::NewRawTwoByteString(int, v8::internal::PretenureFlag) [/usr/local/bin/node]
7: 0x10054f1d9 v8::internal::Factory::NewStringFromUtf8(v8::internal::Vector<char const>, v8::internal::PretenureFlag) [/usr/local/bin/node]
8: 0x1001cb228 v8::String::NewFromUtf8(v8::Isolate*, char const*, v8::NewStringType, int) [/usr/local/bin/node]
9: 0x1000ddc1a node::StringBytes::Encode(v8::Isolate*, char const*, unsigned long, node::encoding, v8::Localv8:Value>*) [/usr/local/bin/node]
10: 0x100053f9b void node::Buffer::(anonymous namespace)::StringSlice<(node::encoding)1>(v8::FunctionCallbackInfov8::Value> const&) [/usr/local/bin/node]
11: 0x10023170f v8::internal::FunctionCallbackArguments::Call(v8::internal::CallHandlerInfo*) [/usr/local/bin/node]
12: 0x100230c51 v8::internal::MaybeHandlev8::internal::Object> v8::internal::(anonymous namespace)::HandleApiCallHelper<false>(v8::internal::Isolate*, v8::internal::Handlev8::internal::HeapObject>, v8::internal::Handlev8::internal::HeapObject>, v8::internal::Handlev8::internal::FunctionTemplateInfo>, v8::internal::Handlev8::internal::Object>, v8::internal::BuiltinArguments) [/usr/local/bin/node]
13: 0x1002302f0 v8::internal::Builtin_Impl_HandleApiCall(v8::internal::BuiltinArguments, v8::internal::Isolate*) [/usr/local/bin/node]
14: 0x2159cf65be3d
Abort trap: 6