# 设定分配给 Windows 的内存容量

Parallels Desktop 设置为将 Mac 的一部分可用 RAM 内存容量分配给 Windows，其余的分配给 macOS。如果给 Windows 分配的内存容量过多，macOS 的运行速度可能会减慢，进而导致 Windows 应用程序的运行速度减慢，因为它们都是在 macOS 上运行的。另一方面，如果分配给 macOS 的内存容量过多，那么 macOS 应用程序的运行速度可能会很理想，但 Windows 应用程序的运行速度可能会变慢。

要优化 Windows 和 macOS 的性能，请将分配给 Windows 的内存容量设置在建议范围内。

要设置分配给 Windows 的内存容量，请执行以下操作：

1. [关闭 Windows](/pdfm-19-ug-zh_cn/parallels-desktop-for-mac-19-users-guide/zai-mac-shang-shi-yong-windows/ru-men/guan-bi-huo-zhong-zhi-windows.md)。
2. 选择**操作** > **配置** > **硬件** > **CPU 和内存**。
3. 将内存滑块移动到建议范围内（如滑块下的图形所示，见上文）。<br>

   如果您使用需要很多内存的 Windows 应用程序，如 3D 或视频制作应用程序，最好设置内存分配趋向范围最高点（移动滑块至右边）。或者通常最好是设置靠近中间。

{% hint style="info" %}
**注意：**&#x4E0D;管您的 Mac 有多少内存 (RAM)，可分配到 Windows 的最大内存容量是 8 GB。不过，如果您使用的是 Parallels Desktop for Mac Pro Edition，可以分配给 Windows 的最大内存容量是 128 GB（基于 Intel 的 Mac）和 62 GB（搭载 Apple Silicon 的 Mac）。
{% endhint %}

如果您更改了此设置，但又对 Windows 性能不满意，则可以尝试不同的设置。

{% hint style="info" %}
**注意：**&#x8981;防止“虚拟机配置”发生未经授权的更改，请单击窗口底部的锁图标。下次如果要在“虚拟机配置”的任何窗格中更改设置，必须提供管理员密码。
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.parallels.cn/pdfm-19-ug-zh_cn/parallels-desktop-for-mac-19-users-guide/zai-mac-shang-shi-yong-windows/you-hua-xing-neng/she-ding-fen-pei-ji-windows-de-nei-cun-rong-liang.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
