閱讀361 返回首頁    go iPhone_iPad_Mac_apple


Is it safe to delete core dump files from Mac?

I have a Macbook Pro running masOS Sierra 10.12.2. I recently started clearing out storage on my computer by moving majority of my files and photos to an external hard drive. However, I can't seem to figure out why "system" is taking up so much space.

 

Screen Shot 2017-02-04 at 10.00.15 AM.png

 

 

I ran OmniDiskSweeper and I found 383.4 GB of "core" files. What are these and is it safe to delete them?

 

 

Screen Shot 2017-02-04 at 10.00.33 AM.png



The /cores folder is where OS X stores Core Dumps. These are files that are intended for developers to troubleshoot and diagnose faults in their software. They are generated as software crashes. If you're not a developer, or aren't testing software for a developer, then these files serve no purpose for you.


You can disable creation of core files with following command,

sudo launchctl limit core 0 unlimited


You can delete all existing core files using command below,

sudo rm -f /cores/core.*



最後更新:2017-08-24 18:41:50

  上一篇:go Macbook Pro spee
  下一篇:go MacBook Pro mid 2010