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.

Limit unRAID Memory

Featured Replies

How can i limit unRAID system memory?

  • Author

I mean limit the memory that unRAID can use.I want to leave 8GB memory to my VMs

Edited by TheBlueKingLP

  • Community Expert
21 minutes ago, TheBlueKingLP said:

I mean limit the memory that unRAID can use.I want to leave 8GB memory to my VMs

Still not sure why you want to limit unRAID.   UnRAID does not have that much RAM dedicated to it - most of its usage is dynamic depending on what else is running in the system.  When you start a VM the memory it is set to use will be allocated to it, and when there is no VM then it can be dynamically used at the Linux level for things like caching I/O.  

 

Note that when you start a VM there can be a considerable overhead (~ 1GB) on top of the amount you specify for the VM to support the emulation within KVM so make sure you take that into account when working out how much RAM to give any particular VM.  Also note that running VMs cannot share memory - it is allocated when any particular VM starts and not available for anything else to use until the VM is closed.

  • Author
19 hours ago, itimpi said:

Still not sure why you want to limit unRAID.   UnRAID does not have that much RAM dedicated to it - most of its usage is dynamic depending on what else is running in the system.  When you start a VM the memory it is set to use will be allocated to it, and when there is no VM then it can be dynamically used at the Linux level for things like caching I/O.  

 

Note that when you start a VM there can be a considerable overhead (~ 1GB) on top of the amount you specify for the VM to support the emulation within KVM so make sure you take that into account when working out how much RAM to give any particular VM.  Also note that running VMs cannot share memory - it is allocated when any particular VM starts and not available for anything else to use until the VM is closed.

I want to limit menory because unraid using over 8gb memory

Typically the OS will use its memory for best use. Having it sit idle off to the side does no one any good.

 

When you have a new demand for memory, this may require the OS to reduce its memory use in another area (e.g., disk buffers), to provide that memory for another need.

 

You are able to dedicate swaths of memory to VMs. Once allocated, the unRAID OS will not have access to that memory until the VM ends.

 

That's about all the control you get over the OSes using memory.

  • Community Expert
54 minutes ago, TheBlueKingLP said:

I want to limit menory because unraid using over 8gb memory

The base requirement for unRAID is something like 1-2GB.   Is there anything that makes you think unRAID is using more than that for core functionality that locks down RAM?  It is standard on Linux based systems that if you have unused RAM available to start using it for disk caching to improve overall performance.   If an app (e.g. a VM) needs it then memory used for disk caching will be released and be available to pass to the app.

  • Author
23 hours ago, itimpi said:

The base requirement for unRAID is something like 1-2GB.   Is there anything that makes you think unRAID is using more than that for core functionality that locks down RAM?  It is standard on Linux based systems that if you have unused RAM available to start using it for disk caching to improve overall performance.   If an app (e.g. a VM) needs it then memory used for disk caching will be released and be available to pass to the app.

but when i start a vm with more memory,it give me an error:

Quote
 

Execution error

internal error: process exited while connecting to monitor: 2017-07-30T05:37:23.900088Z qemu-system-x86_64: cannot set up guest memory 'pc.ram': Cannot allocate memory

 

 

Maybe try posting your system diagnostics "Tools -> Diagnostics" that includes when you try starting your VM and get the error. That should help the experts here figure out what's going on.

At least post how much memory you have installed and what you've got allocated to VMs

Sent from my LG-H815 using Tapatalk

  • Author

Allocated 12GB and installed 16GB

That sounds about right.  Are you trying to allocate even more memory to the VM than the 12GB you are allocating now?

Archived

This topic is now archived and is closed to further replies.

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.