I\'m using the Mac OS to install the XCode10.1.
I have 18.43GB free disk space in the mac,
but when I click the install button on the Xcode from the app store,<
I also have this problem with a whopping 240GB available.
It seems that purging simply does not happen. I created a really big file, but it died because of no disk space:
paul-> dd if=/dev/zero of=~/zeroes bs=100M
dd: error writing '/Users/paul/zeroes': No space left on device
151+0 records in
150+0 records out
15728640000 bytes (16 GB, 15 GiB) copied, 33.0689 s, 476 MB/s
[~/Library/Caches ]
paul-> ls -lh ~/zeroes
-rw-r--r-- 1 paul staff 15G Nov 17 09:27 /Users/paul/zeroes
It certainly should not have stopped at 15 GB
paul-> df -h
Filesystem Size Used Avail Use% Mounted on
/dev/disk1s1 466G 268G 197G 58% /
/dev/disk1s4 466G 1.1G 197G 1% /private/var/vm
Oddly enough, after removing the big file, I was able to download Xcode from the App Store.