blog2md
blog2md copied to clipboard
FATAL ERROR: Reached heap limit
I've attempted to run this on my exported blog file, which is a 93.7 MB XML file. At first it appeared to be working, but eventually it failed with the following error:
<--- JS stacktrace --->
FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory ----- Native stack trace -----
1: 0x7f9adc1cbe19 [/lib64/libnode.so.115] 2: 0x7f9add959904 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [/lib64/libnode.so.115] 3: 0x7f9add959d01 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [/lib64/libnode.so.115] 4: 0x7f9addb6ae0b [/lib64/libnode.so.115] 5: 0x7f9addb84469 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/lib64/libnode.so.115] 6: 0x7f9addb5dfe7 v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/lib64/libnode.so.115] 7: 0x7f9addb5ec28 v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/lib64/libnode.so.115] 8: 0x7f9addb4245e v8::internal::Factory::NewFillerObject(int, v8::internal::AllocationAlignment, v8::internal::AllocationType, v8::internal::AllocationOrigin) [/lib64/libnode.so.115] 9: 0x7f9addfc0e9f v8::internal::Runtime_AllocateInYoungGeneration(int, unsigned long*, v8::internal::Isolate*) [/lib64/libnode.so.115] 10: 0x7f9a7d7d9ef6 zsh: IOT instruction (core dumped) node index.js w ../blog.wordpress.2024-09-15.xml out