Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Runs into OOM error on OpenBSD #65

Open
sandeep-gh opened this issue Jun 16, 2022 · 1 comment
Open

Runs into OOM error on OpenBSD #65

sandeep-gh opened this issue Jun 16, 2022 · 1 comment

Comments

@sandeep-gh
Copy link

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?

@sandeep-gh
Copy link
Author

Posted this issue on node repo as well: nodejs/node#43444

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant