当前位置:首页 > 内存 > 正文

虚拟机设置内存(怎样给虚拟机增加内存)

  • 内存
  • 2023-12-23 22:46:32
  • 2016
How to change the memory of a virtual machine
Many people need to run a virtual machine on their computer for work reasons. In order to make the virtual machine run smoothly, some users want to know how to change the memory of the virtual machine. The next step is to Let me introduce you to the specific steps.
The details are as follows:
1. The first step is to open the virtual machine that needs to be set up in the computer. As shown in the figure below, the editor takes [windowsXP] as an example.
2. In the second step, click the [Device] option as shown in the figure below.
3. The third step is to view the [Memory] option in the pop-up drop-down list as shown in the figure below.
4. The fourth step is as shown in the figure below, click the [Edit Virtual Machine Settings] option.
5. Step 5: After opening the [Virtual Machine Settings] window, click the [Memory] option as shown in the figure below.
6. Finally, in the pop-up window, as shown in the figure below, set the size you want to change according to your needs.

How to set the memory, processor and hard disk size for a VMware virtual machine
After we install the VMware virtual machine on the computer, we want to set the memory, processor and hard disk size of the virtual machine. How to do it? Today I will introduce to you the specific steps on how to set the memory processor and hard disk size for a VMware virtual machine.
1. First open the VMware virtual machine on the computer, as shown in the figure, enter the main page
2. Then select the virtual machine you want to set up on the left side of the opening, and click

3. On the page that opens on the right, click the "Edit Virtual Machine Settings" option above
4. As shown in the picture, in the pop-up virtual machine settings window, click "Memory" on the left ” option, you can set the virtual machine memory size on the right.
5. After setting the memory, click the "Processor" option on the left. Similarly, set the number of processing tools and cores on the right.
6. Then switch to the hard disk option on the left
7. In the window that opens on the right, click the "Extend" button.
8. As shown in the picture, in the pop-up expand disk capacity window, enter the size of the disk you want to expand. After setting it, click the "Extend" button at the bottom.
9. As shown in the picture, in the pop-up window, click the "OK" button.
10. Finally, return to the virtual machine settings window and continue to click the "OK" button on the lower right to complete the operation.

Does virtual memory need to be set, and how much is appropriate?
1. No matter what hard disk is used, no matter how big the physical memory is, do not turn off virtual memory. Because many core functions of the Windows system require the use of paging files (virtual memory), some programs, especially games, require virtual memory to run normally. If you disable virtual memory, some third-party application software such as programs and games will You may encounter an out-of-memory error and be unable to run.
2. If you only have one hard disk, which partition the virtual memory is set in will not have a great impact on performance, but the partition where the virtual memory is set must have enough space. In a computer, it is enough to set the virtual memory in one partition. It is not necessary to set the virtual memory in each partition. If there are two or more hard disks, the virtual memory should be located on the hard disk where the operating system is installed.
3. Calculating the size of virtual memory is troublesome. Generally, an approximate value is enough. You can set it smaller first. If it prompts that the virtual memory is insufficient during use, you can set it larger. The initial value of virtual memory is calculated with the maximum value 1:2. For example, the initial value is set to 256MB, and the maximum value is set to 512MB, 512/1024, 768/1536, 1024/2048...