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.

Ram allocation error - execution error

Featured Replies

  • Community Expert

I was trying to allocate the full menory to the VM (not sure whether that's smart?). So, all 16GB (initial and max) go to one VM.

 

Upon start of the VM, I am getting an error message and the VM does not start:

 

"Execution error. internal error: process exited while connecting to monitor: 2015-09-04T23:06:53.129612Z qemu-system-x86_64: cannot set up guest memory 'pc.ram': Cannot allocate memory"

 

It works once allocating less than all of my memory. Is that expected behavior and how shall I go ahead with this?

 

Thanks!

Yeah...don't do that...

  • Author
  • Community Expert

Got it, thanks. What would be a good allocation between Unraid and VM? Initial = Maximum?

unRAID needs memory for doing it's job as any other OS as well. the more it has to do, the more ram (or swapping starts) it needs, up to a certain point. i painted a pretty simplified picture here...

 

i would guess it's a save bet to give it between 2-4 GB - that should cover most cases pretty well. so give your VM not more than 12 GB. may i ask, what this VM is intended to do (which takes that much memory)?

  • Author
  • Community Expert

unRAID needs memory for doing it's job as any other OS as well. the more it has to do, the more ram (or swapping starts) it needs, up to a certain point. i painted a pretty simplified picture here...

 

i would guess it's a save bet to give it between 2-4 GB - that should cover most cases pretty well. so give your VM not more than 12 GB. may i ask, what this VM is intended to do (which takes that much memory)?

 

I don't really need so much ram for the VM, but thought it was sharing it anyways, so was thinking to give it the full amount. Does Unraid do any different in case I allocate more than 2-4G to it? I don't run any dockers or plugins, so "only" task is parity and potentially AFP and user shares. My VM acts as UPNP server including transcoding and also hosts a rather large itunes library. But I doubt any of this will actually require too much ram.

unRAID needs memory for doing it's job as any other OS as well. the more it has to do, the more ram (or swapping starts) it needs, up to a certain point. i painted a pretty simplified picture here...

 

i would guess it's a save bet to give it between 2-4 GB - that should cover most cases pretty well. so give your VM not more than 12 GB. may i ask, what this VM is intended to do (which takes that much memory)?

 

I don't really need so much ram for the VM, but thought it was sharing it anyways, so was thinking to give it the full amount. Does Unraid do any different in case I allocate more than 2-4G to it? I don't run any dockers or plugins, so "only" task is parity and potentially AFP and user shares. My VM acts as UPNP server including transcoding and also hosts a rather large itunes library. But I doubt any of this will actually require too much ram.

 

RAM cannot be shared between a VM and the host.  We do allow memory ballooning for guests that do not have a GPU / Sound Card assigned, but that ballooning is only going to help share memory between various VMs, not the host.

 

4GB of RAM should suffice for your use.  You could possibly drop to 2GB, but bump it up a bit if you run into performance issues.

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.