【问题标题】:How do I change the RAM setting in VirtualBox?如何更改 VirtualBox 中的 RAM 设置?
【发布时间】:2016-07-28 10:34:09
【问题描述】:

我使用 4GB RAM 的 MacBook Air。对于我的项目,我在 VirtualBox 中使用 Ubuntu(通过 Vagrant)。但是我的虚拟机内存不足。 VirtualBox 占用了大部分 RAM (2GB)。我无法更改限制,滑块不起作用(它被冻结了?)。

【问题讨论】:

标签: macos vagrant virtual-machine virtualbox


【解决方案1】:

您可以在 Vagrantfile 中执行以下操作

Vagrant.configure("2") do |config|
  # ... other configuration

    config.vm.provider "virtualbox" do |v|
      v.memory = 1024
    end
end

这将只允许 VM 上的 1GB。

【讨论】:

    【解决方案2】:

    在您的虚拟机框中,conversationdriverlocal_default_1468940462492_81779 正在运行,需要关闭,然后通过滑动滑块更改 RAM 设置并重新启动。

    【讨论】:

      猜你喜欢
      • 2015-08-30
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-03-07
      • 2023-03-29
      相关资源
      最近更新 更多