Skip to content

error on image read #71

@DevStarSJ

Description

@DevStarSJ

image : https://drive.google.com/open?id=0B5jcrojcBmfyRGxkTUhlQmxKTVU

The information I need is in the orientation of the image, so I delete all but the first parsing code in the source code.

error :

FATAL ERROR: invalid array length Allocation failed - JavaScript heap out of memory
1: node::Abort() [/usr/local/bin/node]
<--- Last few GCs --->
2: node::FatalException(v8::Isolate*, v8::Localv8::Value, v8::Localv8::Message) [/usr/local/bin/node]

3: v8::internal::V8::FatalProcessOutOfMemory(char const*, bool) [/usr/local/bin/node]
13517 ms: Mark-sweep 160.8 (178.8) -> 127.5 (152.6) MB, 2.4 / 0.0 ms (+ 27.1 ms in 3 steps since start of marking, biggest step 20.8 ms) [GC interrupt] [GC in old space requested].
4: v8::internal::Heap::AllocateUninitializedFixedArray(int) [/usr/local/bin/node]
5: v8::internal::Factory::NewUninitializedFixedArray(int) [/usr/local/bin/node]
16160 ms: Mark-sweep 1051.8 (1077.0) -> 606.4 (631.4) MB, 107.0 / 0.0 ms (+ 87.5 ms in 1 steps since start of marking, biggest step 87.5 ms) [allocation failure] [GC in old space requested].
6: v8::internal::(anonymous namespace)::ElementsAccessorBase<v8::internal::(anonymous namespace)::FastPackedObjectElementsAccessor, v8::internal::(anonymous namespace)::ElementsKindTraits<(v8::internal::ElementsKind)2> >::ConvertElementsWithCapacity(v8::internal::Handlev8::internal::JSObject, v8::internal::Handlev8::internal::FixedArrayBase, v8::internal::ElementsKind, unsigned int, unsigned int, unsigned int, int) [/usr/local/bin/node]
18566 ms: Mark-sweep 1138.6 (1163.7) -> 546.0 (572.3) MB, 383.6 / 0.0 ms [allocation failure] [GC in old space requested].
7: v8::internal::(anonymous namespace)::ElementsAccessorBase<v8::internal::(anonymous namespace)::FastPackedObjectElementsAccessor, v8::internal::(anonymous namespace)::ElementsKindTraits<(v8::internal::ElementsKind)2> >::GrowCapacityAndConvertImpl(v8::internal::Handlev8::internal::JSObject, unsigned int) [/usr/local/bin/node]

8: v8::internal::Runtime_GrowArrayElements(int, v8::internal::Object**, v8::internal::Isolate*) [/usr/local/bin/node]
<--- JS stacktrace --->
9: 0x396edce079a7

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

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