Loading...
Loading...
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memoryDespite being 10x faster than npm, Bun's package manager can sometimes hit memory limits when resolving extremely large or deeply nested monorepo dependencies. This is usually due to the rapid-fire concurrent network requests overwhelming the heap.
You can pass v8 flags directly to Bun to increase the memory allowance.
BUN_ARGV="--max-old-space-size=4096" bun installTry clearing the local cache to remove potentially corrupted package artifacts.
bun pm cache rm