Title: Memory Leak / OOM Crash during track changes · Issue #368 · hyperblast/beefweb · GitHub
Open Graph Title: Memory Leak / OOM Crash during track changes · Issue #368 · hyperblast/beefweb
X Title: Memory Leak / OOM Crash during track changes · Issue #368 · hyperblast/beefweb
Description: I am experiencing a significant memory leak in the BeefWeb plugin when managing a large playlist (approx. 11,000 tracks) on a headless Linux system. The deadbeef-main process grows by ~1.5MB to 2.5MB every time a track is skipped or the ...
Open Graph Description: I am experiencing a significant memory leak in the BeefWeb plugin when managing a large playlist (approx. 11,000 tracks) on a headless Linux system. The deadbeef-main process grows by ~1.5MB to 2.5...
X Description: I am experiencing a significant memory leak in the BeefWeb plugin when managing a large playlist (approx. 11,000 tracks) on a headless Linux system. The deadbeef-main process grows by ~1.5MB to 2.5...
Opengraph URL: https://github.com/hyperblast/beefweb/issues/368
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Memory Leak / OOM Crash during track changes","articleBody":"I am experiencing a significant memory leak in the BeefWeb plugin when managing a large playlist (approx. 11,000 tracks) on a headless Linux system. The deadbeef-main process grows by ~1.5MB to 2.5MB every time a track is skipped or the \"next\" command is issued. In my environment, this eventually leads to the Linux OOM killer terminating the process once it hits approximately 7.2GB RSS. \n\nEnvironment:\n\nOS: Linux (Ubuntu 24.04 / Mint 22.x)\n\nKernel: 6.x\n\nDeaDBeeF Version: 1.10.1\n\nBeefWeb Plugin Version: Feb 2025 build (approx. 2.7MB .so file)\n\nHardware: HP Elite 8300 SFF (8GB RAM) headless\n\nSteps to Reproduce:\n\nLoad a playlist with a large number of tracks (11,000 in my case).\n\nEnsure the BeefWeb plugin is active.\n\nMonitor the process memory usage: ps -o rss -p $(pgrep deadbeef).\n\nIssue several \"next\" commands via CLI: deadbeef --next.\n\nObserve that the RSS increases by 1-2MB per skip and does not plateau.\n\nAdditional Context:\nI have verified that this behavior is specific to the plugin. When the beefweb.so plugin is disabled/removed, skipping tracks in the same 11k-track playlist results in a stable RSS (~94MB to ~96MB) that does not continue to grow linearly. It appears the leak may be related to playlist serialization or metadata buffering triggered by track-change events and may not be limited to large playlists, even as this playlist size may have helped to reveal the memory leak.","author":{"url":"https://github.com/tommylicious","@type":"Person","name":"tommylicious"},"datePublished":"2026-05-05T11:57:04.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/368/beefweb/issues/368"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:deebb11d-e1fe-774d-f0c2-6b4982df0d7e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AEF0:1C79AE:2C83E6:3E1882:6A4BC50A |
| html-safe-nonce | f0aa8c58e45bbdb48f6a09836d5b6df750a18e4778ab0ac9868e55450ff0f3f5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRUYwOjFDNzlBRToyQzgzRTY6M0UxODgyOjZBNEJDNTBBIiwidmlzaXRvcl9pZCI6IjIwMjc4ODEwOTQxOTYyMTcwOTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e2e8a16682c9a1e69a5b8594e08ab696ebde35fd6ad6b48e6b22c5aa03b2f3d7 |
| hovercard-subject-tag | issue:4383824744 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/hyperblast/beefweb/368/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f917354bf56dfea510b7efbba73df122249b1580d344da50e0b93f1e8b8402f5/hyperblast/beefweb/issues/368 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f917354bf56dfea510b7efbba73df122249b1580d344da50e0b93f1e8b8402f5/hyperblast/beefweb/issues/368 |
| og:image:alt | I am experiencing a significant memory leak in the BeefWeb plugin when managing a large playlist (approx. 11,000 tracks) on a headless Linux system. The deadbeef-main process grows by ~1.5MB to 2.5... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tommylicious |
| hostname | github.com |
| expected-hostname | github.com |
| None | 14aa00ce5bdb34d0eefb5facbffd7de9e144c688d8a93ef8df902d5f94b51dd7 |
| turbo-cache-control | no-preview |
| go-import | github.com/hyperblast/beefweb git https://github.com/hyperblast/beefweb.git |
| octolytics-dimension-user_id | 19171756 |
| octolytics-dimension-user_login | hyperblast |
| octolytics-dimension-repository_id | 100525135 |
| octolytics-dimension-repository_nwo | hyperblast/beefweb |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 100525135 |
| octolytics-dimension-repository_network_root_nwo | hyperblast/beefweb |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 58b8f89190447502561829f30862aa0a99d53367 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width