Skip to content
This repository was archived by the owner on Apr 15, 2019. It is now read-only.
This repository was archived by the owner on Apr 15, 2019. It is now read-only.

Does'nt download webtoons with a lot of episodes #2

@edvinbasil

Description

@edvinbasil

When downloading large webtoons, it keeps throwing an error.

./webtoondl --comic 1049
Comic Selected: Lookism (Drama) by Taejoon Park
Indexing Episodes [==============================----------] 75% | ETA: 33s | Episode 156/207
<--- Last few GCs --->

[13769:0x55e4a9dcf1a0]    62119 ms: Scavenge 1385.8 (1424.4) -> 1385.4 (1424.9) MB, 5.0 / 0.0 ms  (average mu = 0.131, current mu = 0.049) allocation failure 
[13769:0x55e4a9dcf1a0]    62853 ms: Mark-sweep 1385.9 (1424.9) -> 1385.1 (1425.4) MB, 729.7 / 0.0 ms  (average mu = 0.087, current mu = 0.039) allocation failure scavenge might not succeed


<--- JS stacktrace --->

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

    0: ExitFrame [pc: 0x1f309b2cfb5d]
    1: StubFrame [pc: 0x1f309b2d107d]
Security context: 0x162cf68c5379 <JSObject>
    2: attributeValueDoubleQuotedState [0x1c47d02b8f89] [/home/username/Projects/Test/web/webtoondl/node_modules/parse5/lib/tokenizer/index.js:~1462] [pc=0x1f309b2e8fe8](this=0x39118ec13369 <JSObject>,46)
    3: /* anonymous */ [0x1c47d02b7e49] [/home/username/Projects/Test/web/webtoondl/node_modules/parse5/lib/tokenizer/index...

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
 1: 0x55e4a8ce76d1 node::Abort() [node]
 2: 0x55e4a8ce85ff node::OnFatalError(char const*, char const*) [node]
 3: 0x55e4a8e680c2 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [node]
 4: 0x55e4a8e6831b v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [node]
 5: 0x55e4a91fde33  [node]
 6: 0x55e4a91fdf74  [node]
 7: 0x55e4a920db26 v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [node]
 8: 0x55e4a920e4ce v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [node]
 9: 0x55e4a92106cd v8::internal::Heap::AllocateRawWithLightRetry(int, v8::internal::AllocationSpace, v8::internal::AllocationAlignment) [node]
10: 0x55e4a9210722 v8::internal::Heap::AllocateRawWithRetryOrFail(int, v8::internal::AllocationSpace, v8::internal::AllocationAlignment) [node]
11: 0x55e4a91df065 v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationSpace) [node]
12: 0x55e4a944d4bf v8::internal::Runtime_AllocateInNewSpace(int, v8::internal::Object**, v8::internal::Isolate*) [node]
13: 0x1f309b2cfb5d 
[1]    13769 abort (core dumped)  ./webtoondl --comic 1049

Any idea how to fix it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions