Mac计算机在内存和存储空间不足时显示“您的系统已用完应用程序内存”错误。过多的启动程序和macOS 错误(macOS bugs)也可能导致Mac电脑出现内存错误。本文中的故障排除建议应解决导致错误消息的问题。
1.强制退出不需要的应用程序
应用程序使用Mac 的随机存取存储器 (RAM)(Mac’s Random Access Memory (RAM))在前台和后台运行。您打开的应用程序越多,保持它们平稳运行所需的 RAM 就越多。但是有一个问题:Mac计算机的内存量是固定的/有限的。
运行过多的应用程序会占用大量内存空间,导致Mac死机或变慢。高RAM使用率还可能触发“您的系统已用完应用程序内存”错误。
使用活动监视器(Activity Monitor)检查(不需要的)应用程序是否已用完内存空间并关闭它们。
- Press Command + Spacebar打开聚光灯搜索。接下来(Next),在搜索栏中输入活动监视器并选择活动监视器(Activity Monitor)应用程序。
- 前往“内存”(Memory)选项卡并查看“内存”(Memory)列,查看 Mac 内存的应用程序使用情况报告。然后,浏览列表并强制退出您不使用的应用程序。
- 选择(Select)一个应用程序,然后选择顶部菜单上
的停止图标。(Stop)
- (Select Force Quit)在确认弹出窗口中
选择强制退出。
强制(Force)退出其他不需要的应用程序并检查是否停止“您的系统已用完应用程序内存”错误。如果 Web 浏览器占用大量内存,请不要关闭它。下一节中的故障排除技巧可以帮助减少其内存。
2. 对您的网络浏览器进行故障排除
网络浏览器是内存猪。您打开的浏览器选项卡越多,浏览器使用的RAM就越多。使用过多的扩展、有问题的插件或主题可能会导致Web 浏览器使用过多的内存(web browsers to use too much memory)。
禁用或卸载不需要的浏览器扩展(uninstall unneeded browser extensions)并关闭资源密集型网页。更新您的网络浏览器还可以减少其在 macOS 中的内存消耗。
如果您使用 Google Chrome,请阅读有关减少 Chrome 的 RAM 和 CPU 使用率的(reducing Chrome’s RAM and CPU usage)教程以获取更多故障排除解决方案。对于Mozilla Firefox,查看减少 Firefox 内存使用的七种方法(seven ways to reduce Firefox’s memory usage)。
如果问题仍然存在,请强制(Force)退出并重新打开您的网络浏览器。更好的(Better)是,安装和使用针对旧的和慢速计算机优化的
轻量级网络浏览器。(lightweight web browsers)
3. 清除非活动 RAM
“非活动 RAM”描述了尚未释放以供 macOS 使用的空闲内存。当您关闭一个应用程序时,macOS 有时直到稍后才会将关闭的应用程序使用的内存释放给系统。
- 转到Finder > Applications > Utilities并打开Terminal。
- 在终端(Terminal)控制台中键入或粘贴 sudo purge ,然后按Return。
- 输入 Mac 的密码,然后按Return继续。
关闭终端(Close Terminal)并检查清除非活动/空闲RAM是否清除了“您的系统已用完应用程序内存”错误。
4.释放存储空间
有限的存储空间可能会降低您的 Mac 速度(slow down your Mac)并触发“您的系统已用完应用程序内存”错误。如果您的 Mac内存(RAM)不足,macOS 会在启动磁盘上创建交换文件或虚拟内存。如果您的 Mac 硬盘没有足够的空间来容纳交换文件或虚拟内存,则不会发生这种情况。
请按照以下步骤检查 Mac 的存储可用性。
- 选择菜单栏上的Apple标志,然后在Apple菜单上选择 About This (Apple)Mac。
- 前往存储选项卡并检查(Storage)Macintosh驱动器有
多少可用磁盘空间。
一个好的经验法则是至少保留 15% 的 Mac 引导存储空间。例如,在配备 256GB SSD的(SSD)MacBook上,拥有至少 38GB 的可用存储空间可以保证流畅的性能。
当可用存储空间低于 15% 阈值时,您的Mac可能会出现性能和内存问题。(Mac)清空Mac的Trash/Bin,卸载不需要的应用程序,并将大文件移动到iCloud Drive。请参阅我们关于在 macOS 中释放空间(freeing up space in macOS)的教程,了解更多优化 Mac 存储空间的方法。
5.限制Finder的内存使用
如果Finder在您启动新的(Finder)Finder窗口时默认打开“Recents”文件夹,则会消耗大量RAM 。那是因为文件管理器会加载所有文件夹并浏览Mac上所有文件的路径。将Finder(Finder)配置为打开特定文件夹可减少文件管理器的内存使用量。
- 打开Finder ,在菜单栏上
选择Finder ,然后选择 Preferences。(Finder)
- 打开新的 Finder(New Finder)窗口显示下拉菜单,然后选择其他文件夹,如“桌面”或“文档”。
关闭(Close)并重新打开Finder,并检查更改Finder的设置是否会释放Mac上的RAM。
6.禁用启动程序
启动程序(或登录项(Login Items))是在您启动Mac时在后台自动运行的应用程序和进程。在(Having)启动时启动太多应用程序会耗尽系统资源并阻止您的Mac顺利运行其他应用程序。
请按照以下步骤阻止不必要的应用程序在您启动Mac时自动启动。
- 打开System Preferences并选择Users & Groups。
- 在侧边栏选择您的帐户,打开“登录项目(Login Items)”选项卡,然后选择底角的锁定图标。
- 输入您的Mac密码并选择解锁(Unlock)。
- 选择要禁用的启动程序或应用程序,然后选择列表下方的减号图标。
7. 重启你的 Mac
如果上述故障排除修复失败,请关闭(Shut)您的Mac并重新打开它。请记住在重新启动(Remember)Mac之前关闭打开的应用程序,这样您就不会丢失未保存的文档或数据。
选择菜单栏上的Apple标志,然后在Apple菜单上选择(Apple)重新启动(Restart)。
8. 更新你的 Mac
尽管此内存错误发生在不同的 macOS 版本上,但它在运行早期 macOS Monterey版本的(Monterey)MacBook Pro型号上很普遍。许多Mac 用户遇到了“内存泄漏”问题(Mac users experienced a “memory leak” issue),导致某些应用程序在后台消耗过多的内存。
此后, Apple(Apple)已在后续 macOS 版本中解决了此问题。更新 Mac 的操作系统并检查是否停止“您的系统已用完应用程序内存”错误。
转到System Preferences > Software Update,选择立即更新(Update),然后重新启动您的Mac以安装下载的更新。
9. 重置 Mac 的指针颜色
在某些 macOS Monterey版本中,更改Mac的光标或指针颜色可能会导致内存泄漏问题。执行指针颜色重置解决了某些Mac用户的问题。
如果您最近更改了 Mac 的光标颜色,请按照以下步骤将颜色重置为出厂默认设置。
转到System Preferences > Accessibility > Display > Pointer,然后选择重置(Reset)。
如果在尝试这些故障排除修复后错误仍然存在,请
联系Apple 支持(Apple Support)或预约Genius Bar 天才吧。(Genius Bar)
9 Ways to Fix “Your System Has Run Out of Application Memory” on Mac
Mac computers display the “Your sуstem has run oυt of applіcation memory” error whеn low on memory and storage space. Excessive startup programѕ and macOS bugs can also cause memory errors on Mac computers. The troubleshooting recommendations in this article should resolve issues responsible for the error message.
1. Force Quit Unneeded Apps
Applications use your Mac’s Random Access Memory (RAM) to run in the foreground and background. The more applications you open, the more RAM required to keep them running smoothly. But there’s one problem: Mac computers have a fixed/limited amount of memory.
Running too many applications will use a lot of memory space, causing your Mac to freeze or slow down. High RAM usage can also trigger the “Your system has run out of application memory” error.
Use the Activity Monitor to check (unneeded) apps using up memory space and close them.
- Press Command + Spacebar to open the spotlight search. Next, type activity monitor in the search bar and select the Activity Monitor application.
- Head to the Memory tab and view the Memory column for an app-by-app usage report of your Mac’s memory. Then, go through the list and force quit apps you aren’t using.
- Select an app and select the Stop icon on the top menu.
- Select Force Quit on the confirmation pop-up.
Force quit other unneeded applications and check if that stops the “Your system has run out of application memory” error. Don’t close your web browser if it consumes a huge chunk of memory. The troubleshooting tricks in the next section can help reduce its memory.
2. Troubleshoot Your Web Browser
Web browsers are memory hogs. The more browser tabs you have open, the more RAM the browser uses. Using too many extensions, buggy plug-ins, or themes can cause web browsers to use too much memory.
Disable or uninstall unneeded browser extensions and close resource-heavy web pages. Updating your web browser can also reduce its memory consumption in macOS.
If you use Google Chrome, read this tutorial on reducing Chrome’s RAM and CPU usage for more troubleshooting solutions. For Mozilla Firefox, check out seven ways to reduce Firefox’s memory usage.
Force quit and reopen your web browser if the problem persists. Better yet, install and use lightweight web browsers optimized for old and slow computers.
3. Purge Inactive RAM
“Inactive RAM” describes free memory that’s yet to be released for use by macOS. When you close an app, macOS sometimes doesn’t release the memory used by the closed app to the system until later.
- Go to Finder > Applications > Utilities and open Terminal.
- Type or paste sudo purge in the Terminal console and press Return.
- Enter your Mac’s password and press Return to proceed.
Close Terminal and check if purging inactive/free RAM cleared the “Your system has run out of application memory” error.
4. Free Up Storage Space
Limited storage space can slow down your Mac and trigger the “Your system has run out of application memory” error. If your Mac’s running low on RAM, macOS creates swap files or virtual memory on the startup disk. That won’t happen if your Mac’s hard drive doesn’t have enough space to accommodate swap files or virtual memory.
Follow the steps below to check your Mac’s storage availability.
- Select the Apple logo on the menu bar and select About This Mac on the Apple menu.
- Head to the Storage tab and check how much free disk space the Macintosh drive has.
A good rule of thumb is to keep at least 15 percent of your Mac’s boot storage free. For instance, on a MacBook with 256GB SSD, having at least 38GB of free storage guarantees smooth performance.
Your Mac may exhibit performance and memory issues when free storage space falls below the 15% threshold. Empty your Mac’s Trash/Bin, uninstall unneeded applications, and move large files to iCloud Drive. Refer to our tutorial on freeing up space in macOS for more ways to optimize your Mac’s storage.
5. Limit Finder’s Memory Usage
Finder consumes a lot of RAM if it opens the “Recents” folder by default when you launch a new Finder window. That’s because the file manager loads all folders and browses the path of all files on your Mac. Configuring Finder to open a specific folder reduces the file manager’s memory usage.
- Open Finder, select Finder on the menu bar, and select Preferences.
- Open the New Finder windows show dropdown menu, and select other folders like “Desktop” or “Documents.”
Close and reopen Finder, and check if changing Finder’s settings free up RAM on your Mac.
6. Disable Startup Programs
Startup programs (or Login Items) are apps and processes that run automatically in the background when you boot your Mac. Having too many apps launch at startup can deplete system resources and prevent your Mac from running other apps smoothly.
Follow the steps below to stop unnecessary apps from starting automatically when you boot your Mac.
- Open System Preferences and select Users & Groups.
- Select your account on the sidebar, open the Login Items tab, and select the lock icon in the bottom corner.
- Enter your Mac password and select Unlock.
- Select the startup program or app you want to disable and select the minus icon below the list.
7. Restart Your Mac
Shut down your Mac and turn it back on if the troubleshooting fixes above prove abortive. Remember to close open applications before rebooting your Mac, so you don’t lose unsaved documents or data.
Select the Apple logo on the menu bar and select Restart on the Apple menu.
8. Update Your Mac
Although this memory error occurs on different macOS versions, it’s prevalent on MacBook Pro models running early macOS Monterey builds. Many Mac users experienced a “memory leak” issue that caused some apps to consume excessive memory in the background.
Apple has since resolved this issue in subsequent macOS releases. Update your Mac’s operating system and check if that stops the “Your system has run out of application memory” error.
Go to System Preferences > Software Update, select Update Now, and reboot your Mac to install the downloaded update.
9. Reset Your Mac’s Pointer Color
In some macOS Monterey versions, making changes to your Mac’s cursor or pointer color can cause memory leak issues. Performing a pointer color reset resolved the issue for some Mac users.
If you recently changed your Mac’s cursor color, follow the steps below to reset the color to factory default.
Go to System Preferences > Accessibility > Display > Pointer and select Reset.
Contact Apple Support or book a Genius Bar appointment if the error persists after trying these troubleshooting fixes.