Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Out Of Memory Errors Killing My VM Every Night

Featured Replies

I am receiving an out of memory error from fix common problems and I believe that this is related to my VM shutting down/crashing every night. Restart does not help and it has been happening for a while now. I am including the diag file as requested in the instructions.  Thank you.

tower-diagnostics-20220626-0753.zip

Solved by Michael_P

Try limiting the amount of memory that Plex and Jacket are able to use.  Short of the VM, those were your biggest consumers at the time of the OOM

 

  • Author

Thank you.  I tried lowering just Jacket to 1gb and it still crashed last night. I will continue to test different settings until I can get it to stay on. Is the simple answer to this to buy more memory? I have used this setup for years without the problem, so I figured it was an update or a changed setting that was causing the issue.

  • Community Expert
1 hour ago, black296tuuk said:

Thank you.  I tried lowering just Jacket to 1gb and it still crashed last night. I will continue to test different settings until I can get it to stay on. Is the simple answer to this to buy more memory? I have used this setup for years without the problem, so I figured it was an update or a changed setting that was causing the issue.

 

What time is your Plex scheduled tasks set to run?

  • Author

Start at 2 and end at 5. Everything on that page is checked except for "Update all Libraries During Maintenance"

  • Community Expert
  • Solution

 

46 minutes ago, black296tuuk said:

Start at 2 and end at 5. Everything on that page is checked except for "Update all Libraries During Maintenance"

 

That's what's running you OOM. Mine started doing it after upgrading from 6.8.3 to 6.10.3, haven't figured out why yet, likely doesn't like a media file for some reason when it generates thumbs and runs away. Doesn't do it if you change all of these to never

 

image.png.9035d538d2b60d46d591033ec0ce0f65.png

 

You can change it to whatever you want when you add media, just make sure to disable them again before the scheduled task. 

 

I set a memory limit based on @Squid's suggestion above, going to test tonight to see if it runs away again.

  • Author
47 minutes ago, Michael_P said:

 

 

That's what's running you OOM. Mine started doing it after upgrading from 6.8.3 to 6.10.3, haven't figured out why yet, likely doesn't like a media file for some reason when it generates thumbs and runs away. Doesn't do it if you change all of these to never

 

image.png.9035d538d2b60d46d591033ec0ce0f65.png

 

You can change it to whatever you want when you add media, just make sure to disable them again before the scheduled task. 

 

I set a memory limit based on @Squid's suggestion above, going to test tonight to see if it runs away again.

How much memory do you have and what limit did you set?

 

Edited by black296tuuk

  • Community Expert
23 minutes ago, black296tuuk said:

How much memory do you have and what limit did you set?

 

 

32GB, limited Plex to 4GB - can confirm that works and the scheduled task no longer runs the server OOM. 

 

  • Author
10 minutes ago, Michael_P said:

 

32GB, limited Plex to 4GB - can confirm that works and the scheduled task no longer runs the server OOM. 

 

Great, thanks. I only have 16gb but I am going to try it at 4GB too and see what happens.

  • Community Expert
3 minutes ago, black296tuuk said:

Great, thanks. I only have 16gb but I am going to try it at 4GB too and see what happens.

 

Just make sure it's less than the amount you have free

  • Author

My VM did not crash last night so it looks like that corrected my issued. Thank you for the help.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.