Knip was downgraded from 6 to 5 (commit 968cc72) because Knip 6 depends on oxc-parser, which reserves ~6GB of virtual address space for its raw transfer buffer. This allocation is rejected by the CI runner (3.7GB RAM, no swap) under heuristic overcommit. The oxc project plans to support constrained environments via an allocator revamp (oxc-project/oxc#20513). Alternatively, enabling vm.overcommit_memory=1 on the VPS or upgrading RAM would resolve it. Once any of these unblock it, Knip can be upgraded back to 6 for its 2-4x speed improvements.
Acceptance Criteria
oxc-project/oxc#20513 (allocator revamp) is merged and released in an oxc-parser version compatible with Knip 6, OR vm.overcommit_memory=1 is enabled on the VPS, OR VPS RAM is upgraded
Knip is upgraded back to version 6 (or later)
pnpm check passes locally and in CI on the Gitea runner
No regression in unused code detection compared to Knip 5
## Summary
Knip was downgraded from 6 to 5 (commit 968cc72) because Knip 6 depends on oxc-parser, which reserves ~6GB of virtual address space for its raw transfer buffer. This allocation is rejected by the CI runner (3.7GB RAM, no swap) under heuristic overcommit. The oxc project plans to support constrained environments via an allocator revamp (oxc-project/oxc#20513). Alternatively, enabling `vm.overcommit_memory=1` on the VPS or upgrading RAM would resolve it. Once any of these unblock it, Knip can be upgraded back to 6 for its 2-4x speed improvements.
## Acceptance Criteria
- [ ] oxc-project/oxc#20513 (allocator revamp) is merged and released in an oxc-parser version compatible with Knip 6, OR `vm.overcommit_memory=1` is enabled on the VPS, OR VPS RAM is upgraded
- [ ] Knip is upgraded back to version 6 (or later)
- [ ] `pnpm check` passes locally and in CI on the Gitea runner
- [ ] No regression in unused code detection compared to Knip 5
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
Knip was downgraded from 6 to 5 (commit
968cc72) because Knip 6 depends on oxc-parser, which reserves ~6GB of virtual address space for its raw transfer buffer. This allocation is rejected by the CI runner (3.7GB RAM, no swap) under heuristic overcommit. The oxc project plans to support constrained environments via an allocator revamp (oxc-project/oxc#20513). Alternatively, enablingvm.overcommit_memory=1on the VPS or upgrading RAM would resolve it. Once any of these unblock it, Knip can be upgraded back to 6 for its 2-4x speed improvements.Acceptance Criteria
vm.overcommit_memory=1is enabled on the VPS, OR VPS RAM is upgradedpnpm checkpasses locally and in CI on the Gitea runner