Skip to content

Runs into OOM error on OpenBSD  #65

@sandeep-gh

Description

@sandeep-gh

mksnapshot is used as part of building/compiling node. However, the build fails on mksnapshot command below:

LD_LIBRARY_PATH=/home/shared/downloads/node/out/Release/lib.host:/home/shared/downloads/node/out/Release/lib.target:$LD_LIBRARY_PATH; export LD_LIBRARY_PATH; cd ../tools/v8_gypfiles; mkdir -p /home/shared/downloads/node/out/Release/obj.target/v8_snapshot/geni; "/home/shared/downloads/node/out/Release/mksnapshot"   --turbo_instruction_scheduling "--target_os=openbsd" "--target_arch=arm64" --startup_src "/home/shared/downloads/node/out/Release/obj.target/v8_snapshot/geni/snapshot.cc" --embedded_variant Default --embedded_src "/home/shared/downloads/node/out/Release/obj.target/v8_snapshot/geni/embedded.S" --no-native-code-counters

The error:

#
# Fatal javascript OOM in MemoryChunk allocation failed during deserialization.
#

Trace/BPT trap

How to debug this error. It seems it fails on OOM even before asking for memory. Is there a way to trace which call it failed on?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions