How to optimize memory usage when dealing with XProtectRemediatorSheepSwap on Mac

Today the process XProtectRemediatorSheepSwap started using high amounts of memory. It will start at around 2GB and then will keep climbing until it reaches 20 or 30GB at which point the mac will become completely unusable.

A malware scan found nothing. I ran XProCheck but the log says NoThreatDetected for Sheep Swap. I tried rebooting but after a couple of minutes the process returns again.

Any tips/ideas would be appreciated.


[Re-Titled by Moderator]

iMac (2017 – 2020)

Posted on Feb 10, 2024 9:16 PM

Reply
Question marked as Top-ranking reply

Posted on Feb 10, 2024 9:55 PM

CleanMyMac is a problem. It should be removed by the uninstaller provided by MacPaw. These types of apps will conflict with the normal operation of your OS:

  • Cleaners
  • Optimizers
  • Anti-Virus
  • VPN


Any third party process that runs at startup on your system has the potential to conflict with the scans that XProtect does for Malware detection. A more useful tool to determine what is being launched on startup and Kernel Extensions that could be causing a conflict is EtreCheck. You can post the free report here using the Additional Text option when posting. This should be done after removing any of the apps in the above list.

Using EtreCheck - Apple Community

Similar questions

50 replies

Feb 13, 2024 8:06 AM in response to cuervo7

For sure 😄. I am finding myself eagerly waiting for updates now purely based on your comment on hoping it gets resolved. As for the old 200- mac, that's getting desperate however it will probably run better than what you are using now. 😜


I am just doing a bit of work now whilst my computer is behaving (which is rare). Will do the clean install again tomorrow.


Please do let me how you go. 👍🏻

Feb 14, 2024 4:21 AM in response to tobwise

Thanks for the update. I rebooted the system at the beginning of the evening yesterday and haven't seen the issue pop up yet. Left it running overnight, seemingly without any hick ups. It's 1:20pm here and it's been behaving normally all morning so I think I'm going to hold off doing the clean install for now. I checked the 'Installations' section and didn't see any updates to XProtectRemediatorSheepSwap. Interesting. I'm cautiously optimistic but like you said, I don't want to jinx it. I'm just happy I was able to get some work done without the computer throwing a fit. Looks like the old '09 Mac can stay in storage after all. 😂 (I booted it up yesterday and I gotta say, it still runs surprisingly well. The step back from a Retina display to a 'normal' one is really jarring though.)

Anyway, I hope your computer keeps behaving and I'll let you know if anything changes on my end.

Feb 14, 2024 5:07 PM in response to cuervo7

It's back. 😡😡 This time it was as soon as I turned my computer on it was red lining as soon as items started logging in. Checked Activity Monitor and sure enough it was the dreaded XProtectRemediatorSheepSwap that was the culprit. I had to wait nearly an hour for it to stop. Now it has stopped running, my computer is now functioning as normal. I have done a 'Report an issue' through the Apple website about what is happening and anyone else having the same problem should do the same in case it is definitely something that is happening their end. Naturally not expecting a response because the purpose is just to report it, not get technical support. Will see what comes of it but this is getting annoying now. Somehow I don't think a clean install is going to resolve this, not unless someone can shed light that it may be my computer that is causing it instead of Apple installations/software etc. I ca't see it being a hardware issue since everything runs like it was when the XProtect thingy is not running.

Feb 15, 2024 12:27 AM in response to tobwise

That sucks. Sorry to hear that. I've not seen any misbehaving myself as of yet. Just started doing some work (9:30am here) and we'll see how it goes throughout the day. Fingers crossed. I also think it's unlikely a hardware issue is to blame. What are the odds that we're both having the same issue at the same time. And just like yours, it's been running just fine apart from this issue.

Feb 15, 2024 6:55 AM in response to cuervo7

Yeah I know! At least it was only once which was first thing in the morning and it has been OK for the rest of the day which is something. I work fully expecting it to start overloading at any moment whilst trying to finish a job, so annoying. Glad to hear your computer is running nicely so hopefully it stays that way. I wouldn't have thought it was a hardware issue either but would love for it to magically go away. 😁

Mar 2, 2024 7:47 AM in response to cuervo7

Well, after laying low for 2 weeks the issue is back in full force since yesterday. It was only popping up once a week but now it’s multiple times a day again. ☹️ Tried everything I could think of at this point including a clean install, which made no difference (and no, I did not restore a time machine backup after the clean install. The issue also occurred on a totally vanilla install. Maybe it’s some sort of hardware issue after all? idk at this point)

Mar 4, 2024 8:51 AM in response to Luis Sequeira1

So, if reverting to a previous version helps, good, but it is only a temporary fix (and may leave you open to possible vulnerabilities fixed in the subsequent versions).


True. This is a problem Apple should fix asap and rolling back to an old version of XProtect is far from ideal. It's just that I'm basically at my wits' end right now. Like tobwise, I've tried a clean install (no backups restored or any 3rd party apps installed) and even then the problem persisted.

Mar 4, 2024 9:08 AM in response to cuervo7


True. This is a problem Apple should fix asap and rolling back to an old version of XProtect is far from ideal. It's just that I'm basically at my wits' end right now. Like tobwise, I've tried a clean install (no backups restored or any 3rd party apps installed) and even then the problem persisted.

In any case, I hope the issue gets resolved for you. I am also on version 126 without a problem, so there is something else going on there causing a conflict for a small number of users or a combination of the version and OS since I am on Sonoma. It appears the tobwise was finally able to resolve the problem with a clean install and I'm sure an update on the progress of installing apps will be provided. Not sure why you experienced the same issue after clean install.

Mar 4, 2024 12:28 PM in response to Mac Jim ID

I hope so too. It's weird such a small number of user seem to be affected. The issue has been reported by Sonoma users as well so it's not exclusive to Ventura.

When tobwise first did a clean install it also did not solve the problem. It's nice to hear they don't have the issue now but then again, I also rarely had a hiccup for nearly two weeks until 2 days ago, without a clean install. I've tried to discern a pattern, but alas, no luck. If anything, it's the randomness that's driving me up the wall. 😅



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.

How to optimize memory usage when dealing with XProtectRemediatorSheepSwap on Mac

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