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 Error, seeking guidance

Featured Replies

Hello all, I have a server that seems to keep getting out of memory errors. I did think it was related to a container I was using but im not confident. I wanted to see what could be done to help pin down this issue and get rid of it all together.

 

diag log attached. happy to pull data. havent rebooted just yet.

bulgae-diagnostics-20250303-1459.zip

Solved by bmartino1

  • Community Expert
  • Solution

If your hitting out of memory. You need to buy more ram and increase the ram in the machine.


Otherwise, to help alienate:


Swap file so when your out of ram it writes the ram contents to disk...
 

CA install a swap file to assist with low memory issues

requires a btfs formatted disk. Install the CA swap plugin.

General. as unraid sits in ram. clear logs.... Limit memory that a resource is able to have, example the docker in question:
docker extra parm limit ram it gets.
 

Setting Memory Limit in Unraid Docker:
-Open the Unraid Web UI.
-Navigate to Docker > Click on the container you want to modify.
-Click on Edit.
-Scroll down to the Extra Parameters field (you may need to enable advanced view by clicking the toggle at the top-right).
-Add the following parameter to set a memory limit:

 

example:

--memory=1g
-m 1g

- Click Apply and Restart the container.

 

Explanation of the Flag:
--memory=1g (or -m 1g): Limits the container's memory usage to 1GB.
You can also specify other values like:
512m for 512MB
2g for 2GB

  • Author

Thank you for this. I am starting by adding the memory limit function to many containers. Follow up question,

 

I see a Swap plugin in the CA, but it shows only or 6.9, not 7.0. is the swap function possible on 7.0?

 

one of my machines is hosted off-site, so adding ram is not a quick change.

  • Community Expert

it came out during 6.9 it works on v7 and above.

when I say swap plugin I mean this in the ca:
image.png.f32ec2a005ac4d546033b4a4a2825143.png

 

note the "Min OS" you need to be running v6.9 or above. that why it has 6.9 inthe tile as well.

  • Community Expert
On 3/4/2025 at 3:23 PM, bmartino1 said:

If your hitting out of memory. You need to buy more ram and increase the ram in the machine

 

On 3/3/2025 at 4:02 PM, Aerodb said:

Hello all, I have a server that seems to keep getting out of memory errors. I did think it was related to a container I was using but im not confident. I wanted to see what could be done to help pin down this issue and get rid of it all together.

 

diag log attached. happy to pull data. havent rebooted just yet.

bulgae-diagnostics-20250303-1459.zip 226.74 kB · 1 download

 

You don't need more RAM, unmanic is transcoding to RAM so re-configure it to transcode to disk.

  • Author

I don't see where that's configured to use ram. Do you see it the in docker edit?

  • Community Expert
11 hours ago, Aerodb said:

I don't see where that's configured to use ram. Do you see it the in docker edit?

 

It will be in the config for unmanic - I don't use it so I can't point you right to it, but look for the directory it's using for working cache and map that in the docker container's settings to a disk

 

If you want to keep using RAM as cache, you can try doing less transcodes at once

 

Edited by Michael_P

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.