After a web page in a Safari tab eat up all memory of my OS X, the whole Safari program,
along with other programs like TextWrangle, became an “not responding” process in Activity Monitor.
I did not want to lose all my opening web pages in Safari and unsaved text documents in TextWrangle
by simply clicking the “force quit” button in Activity Monitor.
I waited a long time for my Safari to recover, sleep and wake up my OS X system,
killed all other unimportant processes, but all of them did not work.
Fortunately, I found a way at last. Open the Terminal application, and open a new Safari process in the Terminal:
$ open -n /Applications/Safari.app/
And in the new opened Safari, all web pages of previous not responding Safari came to alive again.
By this way, wake up all “not responding” processes, save your working in those processes,
and try to restart your Mac in your very proper time.
2016-02-0210:36
如果你觉得这篇文章对你有用,可以微信扫一扫表示🙏 / If you find this post is useful to you, buy me 🍶 via Wechat
唤醒“未响应”的进程
- Wake Up Not Responding Processes on OS X
Safari的一个页面在占用了10多G的内存后,使得OS X系统内存耗尽,包括Safari在内很多程序卡死,变成了“未响应”的进程。 简单地在“活动监视器”里强制退出“未响应”的进程,有可能导致这些进程的数据丢失,比如Safari正在打开的页面,TextWrangle未保存的文本等。 尝试了一些方法,比如干等😅、睡眠/唤醒、关闭其它程序释放内存等,都不管用。
最后发现了一个方法,可以唤醒“未响应”的Safari进程。打开“终端”程序,在“终端”里新开一个Safari程序:
在这个新开的Safari程序里可以正常访问之前的那个Safari程序打开的所有页面。 通过这种方法唤醒所有“未响应”的进程,保存好你的工作,然后可以在合适的时间尝试重新启动一下电脑😊。
After a web page in a Safari tab eat up all memory of my OS X, the whole Safari program, along with other programs like TextWrangle, became an “not responding” process in Activity Monitor. I did not want to lose all my opening web pages in Safari and unsaved text documents in TextWrangle by simply clicking the “force quit” button in Activity Monitor. I waited a long time for my Safari to recover, sleep and wake up my OS X system, killed all other unimportant processes, but all of them did not work.
Fortunately, I found a way at last. Open the Terminal application, and open a new Safari process in the Terminal:
And in the new opened Safari, all web pages of previous not responding Safari came to alive again. By this way, wake up all “not responding” processes, save your working in those processes, and try to restart your Mac in your very proper time.
如果你觉得这篇文章对你有用,可以微信扫一扫表示🙏 / If you find this post is useful to you, buy me 🍶 via Wechat