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

Fatal process out of memory: Oilpan: CagedHeap reservation. #23698

Open
Munrok opened this issue May 4, 2024 · 5 comments
Open

Fatal process out of memory: Oilpan: CagedHeap reservation. #23698

Munrok opened this issue May 4, 2024 · 5 comments
Labels
needs info needs further information to be properly triaged

Comments

@Munrok
Copy link

Munrok commented May 4, 2024

Version: Deno 1.42.1

I can't use Deno, when I try to do it I receive:

$ deno


#
# Fatal process out of memory: Oilpan: CagedHeap reservation.
#
==== C stack trace ===============================

    0x6a36669bfa3 <???> at /usr/local/bin/deno
    0x6a36669aebb <???> at /usr/local/bin/deno
    0x6a366696b18 <???> at /usr/local/bin/deno
    0x6a3666e36fb <???> at /usr/local/bin/deno
    0x6a36684ba4e <???> at /usr/local/bin/deno
    0x6a366ea7719 <???> at /usr/local/bin/deno
    0x6a366eae9b0 <???> at /usr/local/bin/deno
    0x6a366eae6af <???> at /usr/local/bin/deno
    0x6a366ea77c1 <???> at /usr/local/bin/deno
    0x6a3654a96e1 <???> at /usr/local/bin/deno
    0x6a3654a91a0 <???> at /usr/local/bin/deno
Trace/BPT trap (core dumped)
$ ulimit -a
number of pseudoterminals                (-P) unlimited
socket buffer size           (bytes, -b) unlimited
core file size              (blocks, -c) 1048576
data seg size               (kbytes, -d) 33554432
file size                   (blocks, -f) unlimited
max kqueues                         (-k) unlimited
max locked memory           (kbytes, -l) 2048000
max memory size             (kbytes, -m) 2048000
open files                          (-n) 1500
pipe size                (512 bytes, -p) 1
stack size                  (kbytes, -s) 524288
cpu time                   (seconds, -t) unlimited
max user processes                  (-u) 20
virtual memory              (kbytes, -v) 15360000
swap size                   (kbytes, -w) unlimited
@marvinhagemeister
Copy link
Contributor

marvinhagemeister commented May 8, 2024

@Munrok What are the steps to reproduce the error? Is it literally just calling deno without any additional arguments? To my knowledge that doesn't invoke v8 at all. The error message you posted suggests that v8 was started though, so I'm wondering if the command you posted is complete. Did the error occur by just calling deno or did you call something like deno run myscript.ts?

@marvinhagemeister marvinhagemeister added the needs info needs further information to be properly triaged label May 8, 2024
@Munrok
Copy link
Author

Munrok commented May 13, 2024

@marvinhagemeister Everything I did was to enter the command "deno" (just like in my example) without any additional arguments.

@ThatRick
Copy link

ThatRick commented May 14, 2024

I get the same error when trying to run deno in gpt-4o linux sandbox, but only when exec deno run script.js. Just exec deno runs w/o problem

@mpcref
Copy link

mpcref commented May 18, 2024

Same here.

$ deno --version
deno 1.42.4 (release, x86_64-unknown-freebsd)
v8 12.3.219.9
typescript 5.4.3

$ deno


#
# Fatal process out of memory: Oilpan: CagedHeap reservation.
#
==== C stack trace ===============================

    0x3d060f57dfa3 <???> at /usr/local/bin/deno
    0x3d060f57cebb <???> at /usr/local/bin/deno
    0x3d060f578b18 <???> at /usr/local/bin/deno
    0x3d060f5c56fb <???> at /usr/local/bin/deno
    0x3d060f72da4e <???> at /usr/local/bin/deno
    0x3d060fd89719 <???> at /usr/local/bin/deno
    0x3d060fd909b0 <???> at /usr/local/bin/deno
    0x3d060fd906af <???> at /usr/local/bin/deno
    0x3d060fd897c1 <???> at /usr/local/bin/deno
    0x3d060e38b6e1 <???> at /usr/local/bin/deno
    0x3d060e38b1a0 <???> at /usr/local/bin/deno
Trace/BPT trap (core dumped)

@marvinhagemeister
Copy link
Contributor

@mpcref Does the error happen with the latest Deno version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs info needs further information to be properly triaged
Projects
None yet
Development

No branches or pull requests

4 participants