High Sierra on Mid 2014 MBPR exhibits GPU memory leak with external displays
Hi,
I've been struggling with this particular issue since upgrading to High Sierra on my MBPR mid-2014. It has Nvidia GeForce GT 750M 2GB graphics with the built-in Iris Pro 1536.
I have two locations where I use (mostly) the same external display configuration. At home, I have one Apple 27" Cinema Display and one Apple 27" Thunderbolt Display. At work, I have two Apple 27" Cinema Displays. In either case, the displays are connected directly to both ports on the MBPR.
What happens is the GPU memory graph in iStat Menus shows a steady increase in utilization (right now sitting at 92%). At some point the system starts responding very slowly, and if not caught soon enough, it will become completely unresponsive (mouse pointer still works, but that's it) with the fans going full speed. If I were to leave it, the heat coming out of the exhaust would always be hot, so I know the system is still working under whatever conditions caused it to lock up in the first place, and it just can't free itself from it.
If caught early enough, I'm able to do one of four things (aside from force power-down) to free up video memory and restore the system to normal.
1. Close some Safari windows.
2. Quit Safari all together.
3. Disconnect any one of the external displays in either of the two locations.
4. Change the screen resolution on any one of the external displays in either of the two locations.
The external displays and Safari would seem to be the two lowest common denominators. I haven't noticed this issue without the external displays connected, but that's not my common workflow, so it's not something I can test without disrupting my work day. However, I will be able to test this today because it's appropriate to do so. Even though manipulating Safari frees up GPU memory, I'm not 100% sure if it's the root cause, but because I use it more than anything else (right now I have 20 tabs open across three separate full screen windows) I don't have an appropriate comparative benchmark. That said, I will test again using Chrome and perhaps Firefox. I think I tested Chrome before, and it had eventually produced the same results, alas.
With regards to Safari, I have no extensions enabled. Flash and Java plugins are not installed either. So I think things are pretty bare-bones, and not obviously plug-in related, at least in that regard. I have verified that closing a simple widow with only text frees up memory, so it doesn't seem to be directly related to the number of images or whether those images are static or dynamic, or HTML5 video ads (**** things!) that may be playing off in the background somewhere.
I have tried to erase my machine and restore from backup without being able to resolve the issue. I don't know enough about where preferences files are stored in the system relating to displays or GPU or whatever, so I don't know how to delete those. Pointers welcomed!
Aside from testing further using a non-Safari browser, and deleting any preference files anyone here might recommend, I could try with only a single display connected. It's little intrusive to my workflow, but admittedly I haven't tried this yet and it seems appropriate to do so.
Do these issues resonate with anyone? Any ideas?
Thanks in advance!
MacBook Pro with Retina display, macOS High Sierra (10.13), 15" Mid 2014 i7 2.8 16GB 1TB