虚拟机vmem文件_什么是VMEM(虚拟内存)文件以及如何使用?

虚拟机vmem文件

虚拟机vmem文件

Virtual Memory or VMEM is a file extension used by virtualization software like VMware, Virtualbox etc. VMEM files generally store RAM or Physical Memory of the related virtual machine.

虚拟内存或VMEM是VMware,Virtualbox等虚拟化软件使用的文件扩展名。VMEM文件通常存储相关虚拟机的RAM或物理内存。

VMEM文件 (VMEM File)

Below we can see that there is file named 564dfc3d-5bac-9fd4-b200-6f492dc81f20.vmem . Name is a UUID which is unique and created to store RAM. We can see that the size of the file is about 3.1 GB. We can delete this file securely without a problem.

下面我们可以看到一个名为564dfc3d-5bac-9fd4-b200-6f492dc81f20.vmem 。 名称是一个唯一的UUID,用于存储RAM。 我们可以看到文件的大小约为3.1 GB。 我们可以安全地删除此文件,而不会出现问题。

VMEM File
VMEM File
VMEM文件

VMEM.lck文件(VMEM.lck File)

VMEM files can be edited by other applications. This will create problem because VMEM file holds virtual machines memory. In order to prevent VMEM file edit lock files are used. This VMEM lock files have vmem.lck extension which is a folder.

VMEM文件可以由其他应用程序编辑。 这将造成问题,因为VMEM文件保留虚拟机内存。 为了防止VMEM文件编辑,使用了锁定文件。 此VMEM锁定文件的扩展名为vmem.lck ,它是一个文件夹。

VMEM.lck File
VMEM.lck File
VMEM.lck文件

组态(Configuration)

VMware support different configuration about Memory or VMEM files. Here some of them

VMware支持有关内存或VMEM文件的不同配置。 这里有些

启用/禁用内存共享(Enable/Disable Memory Sharing)

By disabling memory sharing your guests will not share common memory blocks. Your VMware product will also stop comparing memory blocks.

通过禁用内存共享,来宾将不会共享公共内存块。 您的VMware产品还将停止比较内存块。

sched.mem.pshare.enable = "FALSE"

使用命名文件 (Use Named File)

Doesn’t use named-file – use for VMs on USB-disks or other slow disks. On Windows: useNamedFile= “FALSE” causes memory to be backed by the host’s swap space.

不使用命名文件-用于USB磁盘或其他慢速磁盘上的VM。 在Windows上:useNamedFile =“ FALSE”导致内存由主机的交换空间支持。

mainMem.useNamedFile = "FALSE"

将内存装入RAM (Fit Memory Into RAM)

Fit memory into RAM. Whenever possible, avoid settings lower 100%.

将内存装入RAM。 尽可能避免将设置降低100%。

prefvmx.minVmMemPct = "100"

内存配置 (Memory Configuration)

We can configure virtual machine memory from Virtual Machine Settings -> Memory. This configuration will also affect vmem file size because the memory will be written into vmem file with the same size.

我们可以从Virtual Machine Settings > Memory配置虚拟机Memory 。 此配置还将影响vmem文件的大小,因为内存将以相同大小写入vmem文件。

Memory Configuration
Memory Configuration
内存配置
LEARN MORE  How To Install VirtualBox Into Linux?
了解更多如何将VirtualBox安装到Linux中?

翻译自: https://www.poftut.com/what-is-vmem-virtual-memory-file-and-how-to-use/

虚拟机vmem文件

  • 5
    点赞
  • 9
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值