Bun Memory Leak When Running Oxlint with JavaScript Plugins
Is it fixed? Not yet.
Ongoing since Nov 17, 08:43 UTC. First reported Nov 17, 08:43 UTC.
What happened
Bun experiences a severe memory leak when running oxlint with a JavaScript plugin under the Bun runtime, causing peak RSS to grow linearly with the number of files linted. Users running Bun 1.4.4+38afee6c8 on macOS are affected, while the same workload stays flat on Node.
What caused it?
Under active investigation. No report has identified a root cause yet.
No verified workaround yet
None of the linked reports describe a mitigation. This page updates when one appears.
Timeline
- Investigating(current)
- Workaround available(upcoming)
- Resolved(upcoming)
- First report on GitHub issue
`bun --bun oxlint` with a JS plugin: RSS grows with every file linted (1.8 GB vs 153 MB on Node for 4,000 files)
Source
Evidence
1 report · 1 GitHubShow
- [1]GitHub First report`bun --bun oxlint` with a JS plugin: RSS grows with every file linted (1.8 GB vs 153 MB on Node for 4,000 files)(opens GitHub issue in a new tab)
What version of Bun is running? 1.4.4+38afee6c8 What platform is your computer? Darwin 27.0.0 arm64 arm (macOS 27.0.1, M4 Pro, 14 cores, 48 GB) What steps can reproduce the bug? Run oxlint with any JS plugin under the Bun runtime. Peak RSS grows linearly with the number of files linted, about 0.43 MB per 10 KB file. Under Node the same run stays flat. package.json { "private": true, "type": "module", "devDependencies": { "oxlint": "1.94.0" } } plugin.js, a rule that visits nodes and reports…
by alistairstead 0upvotes 1comments
FAQ
What happened in the Bun issue?
Bun experiences a severe memory leak when running oxlint with a JavaScript plugin under the Bun runtime, causing peak RSS to grow linearly with the number of files linted. Users running Bun 1.4.4+38afee6c8 on macOS are affected, while the same workload stays flat on Node.
What is affected by the Bun issue?
Bun (versions: 1.4.4+38afee6c8).
When did the Bun issue start and end?
It started Nov 17, 08:43 UTC and is still ongoing (1 d 20 h so far). This page updates as it develops.
How do I get alerts for Bun?
Subscribe to the Bun RSS feed for every new Bun incident, or connect an AI assistant to WhatBrokeToday over MCP and ask whether Bun is down. Bun feed
Where does this information come from?
WhatBrokeToday collects public status pages, developer community reports and security advisories, groups the ones about the same problem, and links every report under Evidence on this page. This one has 1 report from 1 independent source.