So, I have kind of the same problem as some other people on here, but then different. I also want to install windows on my Mac. I also get the problem where it says I do not have the required 40 GB of free space. But any solution I can try on the internet doesn't work. "The sudo tmutil thinlocalsnapshots / 999999999999" doesn't work, nothing works, and it frustrates me to the max. Apple support does not really help either because they just keep telling me to clear out mor space. I am currently at almost 50 GB of free space, but now they want me to go get 55 while I read that even people with 100GB free have this problem. Any suggestions?
Also: Mac info: MacOS High Sierra version 10.13.6 Macbook Air 13 inch 2017 1,8 GHz Intel Core i5
Edit: just after I posted all of this the report thing went from saying you need 40 GB of free space to you need to have 39 GB of free space
Edit 2:
Diskutil list output:
diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *121.3 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_APFS Container disk1 121.1 GB disk0s2
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +121.1 GB disk1
Physical Store disk0s2
1: APFS Volume Macintosh HD 77.9 GB disk1s1
2: APFS Volume Preboot 22.0 MB disk1s2
3: APFS Volume Recovery 519.1 MB disk1s3
4: APFS Volume VM 2.1 GB disk1s4
Edit 3: Also, I just open my console while trying it. It gave the same message, BUT, I saw something pop up in my console at the moment I pressed the button. I don't know if if helps, but here is that out put:
16:54:56.751775 -0400 kernel containerGetMinimalSize:2027: Called on Physical Store, tier-0
16:54:56.751799 -0400 kernel spaceman_get_max_allowed_shrink:5928: max_available_space 9881477 currently_allocated 19689516 currently_allocated_in_fixed_fs 0
16:54:56.751806 -0400 kernel spaceman_get_max_allowed_shrink:5930: sm_free_count: [MAIN]=9881546, [TIER2]=0 sm_reserved_space: [MAIN]=159, [TIER2]=0
16:54:56.751811 -0400 kernel spaceman_get_max_allowed_shrink:5932: sm_fs_reserve_block_count 0, sm_fs_reserve_alloc_count 0
16:54:56.751817 -0400 kernel spaceman_get_max_allowed_shrink:5942: Used space move overhead is 615297, setting max_allowed_shrink to 9266180
16:54:56.751822 -0400 kernel spaceman_get_max_allowed_shrink:5958: Minimal free space threshold_blocks is 2000, updating max_allowed_shrink to 9264180
Edit 4:
Output of the diskutil apfs resize container disk0s2 limits
:
Resize limits for APFS Physical Store partition disk0s2:
Current Physical Store partition size on map: 121.1 GB (121123069952 Bytes)
Minimum (constrained by files/snapshots): 84.9 GB (84860887040 Bytes)
Recommended minimum (if used with macOS): 95.6 GB (95598305280 Bytes)
Maximum (constrained by partition map space): 121.1 GB (121123069952 Bytes)
....
diskutil apfs resizecontainer disk0s2 limits
. This command will not change your Mac. I just want to know how much free space is available.