LoginSignup
6
5

More than 5 years have passed since last update.

Xdebugのログを消したらローカルマシンの容量が40GB増えた話

Posted at

最近Macの容量が逼迫してきたな…と思い、/var/tmp以下を調べてみることに.
何かのファイルが大部分を占めている.

$ ls /private/var/tmp
cachegrind.out.11172    <-これ
cachegrind.out.285              
cachegrind.out.47230            
cachegrind.out.67972            
cachegrind.out.91700
cachegrind.out.11349            
cachegrind.out.28535
...

Xdebugが有効になっていると吐くログらしい.
特に必要がないため消す.

削除
$ sudo rm /private/var/tmp/cachegrind.out.*

再度容量を確認したところ,40GB程減っていることを確認.
Oh...

参考:http://www.alcoholical.com/tag/cachegrind-out/

6
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
5