0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

LLMの実体を探していたらPathFinderがLLMの5倍容量を喰っていた話

0
Posted at

RedditでAI アシスタントを見つけた。

 Redditの r/macapps を眺めていたら、何か(伺か)風なAIアシスタントを見つけました。
試しに導入して見るも英語でしか会話できないので削除しようと思いました。

まずはAppCleaner

 AppCleanerでアプリケーションを削除しようとしたら、一番大きいのはアプリケーション本体の20MBでした。
これは「学習モデルが他にいるな」と思い、

du -hd 1 ~/Library/Application\ Support | sort -h

してみました。

一向にduが終わらない

 早ければ、瞬く間に終わるはずのduが分単位で動いてます。
これは大物がいるな。と思ってともかく待ちます。

duの結果は

duの結果は意外でした。

7.1G	/Users/xxx/Library/Application Support/AC

と学習モデルの実体が見つかったのは良いのですが他にも大物がいました。

 38G	/Users/chajka/Library/Application Support/Path Finder

なんと、Path Finderが38GBもディスク容量を喰っているではありませんか。
学習モデルの実に5倍以上です。
うちはSSD 384GBだったので1割もの容量をPath Finderが使っていたのです。

じゃあ、Path Finderは何をしているの?

Path Finderにはディスク容量を喰うイメージはありませんでした。なので、Path Finderの何が容量を喰っているか更に調べます。

Path FinderはiOSのバックアップを取っていた!!

du -hd 1 ~/Library/Application\ Support/Path\ Finder | sort -h
  0B	/Users/xxx/Library/Application Support/Path Finder/Mobile Documents
  0B	/Users/xxx/Library/Application Support/Path Finder/PlugIns
2.3M	/Users/xxx/Library/Application Support/Path Finder/Searches
6.1M	/Users/xxx/Library/Application Support/Path Finder/Settings
 34M	/Users/xxx/Library/Application Support/Path Finder/PlugIn Support
 40M	/Users/xxx/Library/Application Support/Path Finder/AirDrop
 38G	/Users/xxx/Library/Application Support/Path Finder
 38G	/Users/xxx/Library/Application Support/Path Finder/Mobile Devices

Mobile Devices こいつが犯人です。

更に中を見てみると

 du -hd 1 ~/Library/Application\ Support/Path\ Finder/Mobile\ Devices
 38G	/Users/xxx/Library/Application Support/Path Finder/Mobile Devices/00008103-0010791921A0801E_PF_iPad

いや、Path Finderお前何食わぬ顔でiPadのバックアップ取ってたんかい!!

念のため Settings… を見る

ここで念のため、Path FinderSettings…を見てみます。
しかし、i(Pad)OSバックアップに関する項目は見つけられませんでした。つまり、Path Finderにはi(Pad)OSのバックアップ機能はあっても復元機能は無いのです

慌てて ~/Library/Application Support/Path Finder/Mobile Devices/ を削除

 復元出来ないバックアップには用はありません。早速削除です。

rm -fr ~/Library/Application Support/Path Finder/Mobile Devices/

SSDなのに数分かかりましたし、いくつかのファイルは使用中で削除出来ませんでしたが殆どのファイルが消えました。
改めてdu -hd 1 ~/Library/Application\ Supportを叩いてみます。一瞬で結果が返ってきます。
これで38GBを取り戻すことが出来ました。

最後に

 みなさんも、時にはdu -hd 1 ~/Library/Application\ Supportしてみると良いかも知れません。
自分が便利に使っているアプリが思わぬキャッシュを貯め込んでいるかもしれません。

0
1
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
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?