oven-sh / bun

Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
https://bun.sh
Other
74.41k stars 2.78k forks source link

panic: attempt to unwrap error: OutOfMemory #15070

Open LinCie opened 2 weeks ago

LinCie commented 2 weeks ago

How can we reproduce the crash?

  1. Create a NextJS app
  2. Run with --bun flag, e.g. "bun --bun run dev"

Relevant log output

Stack Trace (bun.report)

Bun v1.1.34 (5e5e7c6) on windows x86_64 [RunAsNodeCommand]

panic: attempt to unwrap error: OutOfMemory

Features: Bun.stderr, Bun.stdin, Bun.stdout, fetch, http_server, jsc, spawn, transpiler_cache, tsconfig, tsconfig_paths, tsconfig_paths

github-actions[bot] commented 2 weeks ago

Thank you for reporting this crash.

For Bun's internal tracking, this issue is BUN-4VY.

Jarred-Sumner commented 2 weeks ago

Can you clarify how much memory your machine has?

LinCie commented 1 week ago

Sorry for the late response @Jarred-Sumner, my machine currently has 8GB of memory.