Safari runs out of available system memory

Hi everyone, I have an issue with Safari running out of system memory for a few weeks and every time I have to close and reopen it.


My Macbook has 16GB of RAM and hasn't had any problems up to now. It seems that all of a sudden Safari somehow can't handle the cache memory properly and quickly saturates it, blocking all the activities.


I here attach the task and process monitor screenshots at the time of the memory run out.


Apparently there is no reason for Safari to behave this way, also because it is the only app that gives me problems (I use Photoshop to process in parallel big files many Gb in size without any problem, while Safari crashes regardless by how many tabs I have open at that moment).


Any idea?


Thank you in advance for your support.

Carlo




MacBook Pro 13″, 13.0

Posted on Nov 30, 2022 03:36 PM

Reply
Question marked as Top-ranking reply

Posted on Dec 4, 2022 02:17 PM

Hello HabuJoji,


We appreciate you taking them to complete the troubleshooting that you have to this point. We’d like to have you do some more isolating troubleshooting steps.


Please use the steps as listed here for safe mode: How to use safe mode on your Mac - Apple Support

How to use safe mode

Determine whether you're using a Mac with Apple silicon, then follow the appropriate steps:

Apple silicon

  1. Shut down your Mac.
  2. Turn on your Mac and continue to press and hold the power button until you see the startup options window.
  3. Select your startup disk, then press and hold the Shift key while clicking “Continue in Safe Mode.”
  4. Log in to your Mac. You might be asked to log in again.

Intel processor

  1. Turn on or restart your Mac, then immediately press and hold the Shift key as your Mac starts up.
  2. Release the key when you see the login window, then log in to your Mac. 
  3. You might be asked to log in again. On either the first or second login window, you should see ”Safe Boot” in the upper-right corner of the window.


We’d like you to also test in a new user account using the steps here: Change Users & Groups settings on Mac - Apple Support

Create a new user or group.

Click the New Account pop-up menu (you may be asked to enter your password), then choose a type of account.

  • Administrator: An administrator can add and manage other users, install apps, and change settings. The new user you create when you first set up your Mac is an administrator. Your Mac can have multiple administrators. You can create new ones, and convert standard users to administrators. Don’t set up automatic login for an administrator. If you do, someone could simply restart your Mac and gain access with administrator privileges. To keep your Mac secure, don’t share administrator names and passwords.
  • Standard: Standard users are set up by an administrator. Standard users can install apps and change their own settings, but can’t add other users or change other users’ settings.
  • Sharing Only: Sharing-only users can access shared files remotely, but can’t log in to the computer or change settings. To give the user permission to access your shared files or screen, you may need to change options in File Sharing, Screen Sharing, or Remote Management settings. See Set up file sharing and Share the screen of another Mac.
  • Group: Groups allow multiple users to have the same access privileges. You control a group’s access to your shared folders by setting access permissions in the File Sharing options in Sharing settings.

See Add a user or group.


If no issue resolution, please contact Apple Support here: Apple Support


Take care.

Similar questions

3 replies
Question marked as Top-ranking reply

Dec 4, 2022 02:17 PM in response to HabuJoji

Hello HabuJoji,


We appreciate you taking them to complete the troubleshooting that you have to this point. We’d like to have you do some more isolating troubleshooting steps.


Please use the steps as listed here for safe mode: How to use safe mode on your Mac - Apple Support

How to use safe mode

Determine whether you're using a Mac with Apple silicon, then follow the appropriate steps:

Apple silicon

  1. Shut down your Mac.
  2. Turn on your Mac and continue to press and hold the power button until you see the startup options window.
  3. Select your startup disk, then press and hold the Shift key while clicking “Continue in Safe Mode.”
  4. Log in to your Mac. You might be asked to log in again.

Intel processor

  1. Turn on or restart your Mac, then immediately press and hold the Shift key as your Mac starts up.
  2. Release the key when you see the login window, then log in to your Mac. 
  3. You might be asked to log in again. On either the first or second login window, you should see ”Safe Boot” in the upper-right corner of the window.


We’d like you to also test in a new user account using the steps here: Change Users & Groups settings on Mac - Apple Support

Create a new user or group.

Click the New Account pop-up menu (you may be asked to enter your password), then choose a type of account.

  • Administrator: An administrator can add and manage other users, install apps, and change settings. The new user you create when you first set up your Mac is an administrator. Your Mac can have multiple administrators. You can create new ones, and convert standard users to administrators. Don’t set up automatic login for an administrator. If you do, someone could simply restart your Mac and gain access with administrator privileges. To keep your Mac secure, don’t share administrator names and passwords.
  • Standard: Standard users are set up by an administrator. Standard users can install apps and change their own settings, but can’t add other users or change other users’ settings.
  • Sharing Only: Sharing-only users can access shared files remotely, but can’t log in to the computer or change settings. To give the user permission to access your shared files or screen, you may need to change options in File Sharing, Screen Sharing, or Remote Management settings. See Set up file sharing and Share the screen of another Mac.
  • Group: Groups allow multiple users to have the same access privileges. You control a group’s access to your shared folders by setting access permissions in the File Sharing options in Sharing settings.

See Add a user or group.


If no issue resolution, please contact Apple Support here: Apple Support


Take care.

Dec 3, 2022 03:13 PM in response to HabuJoji

Greetings HabuJoji, 


We’ve got a few isolating steps we’d like to begin with, be sure to test after each step, so we’re not getting more invasive that we need to. 


First, we’d like to have you quit Safari. Then press and hold the Shift key and relaunch the app. This is going to prevent Safari from automatically reopening any windows or tabs that were open before. Now, if there are tabs open that you’re needing to save, go ahead and bookmark them first. Bookmark websites that you want to revisit in Safari on Mac. Then run Safari as you normally do, any change? 


Next, if there is no change, clear your browsing history. Clear your browsing history in Safari on Mac

1. In the Safari app on your Mac, choose History > Clear History, then click the pop-up menu.
2. Choose how far back you want your browsing history cleared.

• When you clear your history, Safari removes data it saves as a result of your browsing, including:
• History of webpages you visited
• The back and forward list for open webpages
• Frequently visited site list
• Recent searches
• Icons for webpages
• Snapshots saved for open webpages
• List of items you downloaded (downloaded files aren’t removed)
• Websites added for Quick Website Search
• Websites that asked to use your location
• Websites that asked to send you notifications


Again, run Safari as you normally would and make note if the issue persists. 


If it does, let’s clear cookies. Clear cookies in Safari on Mac

1. In the Safari app on your Mac, choose Safari > Settings, then click Privacy.
2. Click Manage Website Data.
3. Select one or more websites, then click Remove or Remove All.
Removing the data may reduce tracking, but may also log you out of websites or change website behavior.

Note: Removing cookies and website data in Safari may change or remove them in other apps.


Thanks. 

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Safari runs out of available system memory

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.