Plex Crashes Every 3 Days at 3:30am Due to System "Out of Memory" Since PMS 1.24.4.5081

The fix for the massive DB and very large number of Extras leading to memory allocation failures and crashes is now out in Plex Media Server beta 1.25.4.5426
See release notice

  • (Metadata) Some users could end up with massive amounts of duplicate extras (#13241)

The immediate issue of crashes, memory allocation failures get resolved on first launch. The database will shrink slowly over a number of weeks. For example if there are a million extras on a movie - it would take about 11 week to purge all the orphaned database items after the initial deletion of the extras - the purge is up to 100K at a time when the database is optimized and the scheduled task runs this once a week. Of course users can run manual database optimizes which would reduce the period. Note that during an optimize the server is effectively locked out and it may initially take 20 minutes or more

Anyone with the early alpha build with the initial fix should update to this beta

Thanks to everyone for help in tracking down this bug with investigations and diagnostics from @shayanzadeh @Volts @jakehoms @spartan018 - just to mention a few

1 Like