Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Mac › How? What? I don't even... (MASSIVE Apple Mail folder) (AKA Mah mac is outta space!!!!)
New Posts  All Forums:Forum Nav:

How? What? I don't even... (MASSIVE Apple Mail folder) (AKA Mah mac is outta space!!!!)

post #1 of 12
Thread Starter 

I work at a local computer repair shop and from time to time I see something that I still scratch my head at at how often it happens. A customer brought in her machine because it was out of a disk space (200MB out of a 1TB drive). I thought to my self, There is no way this is possible.  Well, it turns out my suspicions were correct. I don't even know how Apple Mail does this, but any time there is a message that gets stuck because either it didn't get sent properly or is somehow incorrectly formated, it will sit there and recover the message OVER AND OVER again till you literally have no room left on your drive.

 

I go directly to the offending folder (~/Library/Mail/V2/Mailboxes) and what do I find? A HUGE recovered messages folder. I mean, this thing was absolutely stupid in size. It was some 698GB!. Yes, 698GB in size. How or what happens to cause this, I have no idea, but this is stupid. Apple Mail needs to be fixed to stop this idiocy. After removing the affected recovered messages folder along with the mbox.cach file, all is good. It is nice to have these quick fixes, but still, it makes no sense to me that this stuff happens only to Apple Mail (as far as I am aware of). Kind of a shame. I like Apple Mail. 


Edited by Lord Xeb - 10/19/12 at 3:57pm
Unobtainium
(21 items)
 
Brother's System
(14 items)
 
MacBook Pro 17"
(13 items)
 
CPUMotherboardGraphicsGraphics
3770k @ 4.5 1.312 load z77 Sabertooth GTX 670 FTW 1254/1700  Galaxy GTX 670 1254/1700 1.212 
RAMHard DriveHard DriveHard Drive
Patriot Viper Xtreme D2 1600  RAID 5 (3x750GB) 2TB Baraccuda Samsung 830 128GB 
Hard DriveOptical DriveCoolingOS
1TB Caviar Green  <.< DVD drive H100 WIndows 8 Pro 64 bit 
MonitorKeyboardPowerCase
Acer G235H Logitech thing Seasonic X 760W CM690 II Adv. 
MouseMouse PadAudioAudio
Logitech G400 Belkin AKG A701 JDS Labs Objective 2 
Audio
X-Fi Champion 
CPUMotherboardGraphicsRAM
Core i5 750 @ Stock ASUS P7P55d-E Pro GTX 550 Ti SLI 8GB (4x2GB) G.Skill DDR3 1600 
Hard DriveHard DriveOptical DriveOS
Samsung 830 128GB 3x1TB RAID 5 Some DVD drive 7 Pro X64 
MonitorPowerCaseMouse
Some 17" TX 750 HAF 922 G500 
CPUMotherboardGraphicsRAM
C2D T7800 @ 2.6GHz Apple mobo w/ GM-965 chipset 8600M GT 256MB GDDR3 :/ 4GB 667 
Hard DriveOptical DriveCoolingOS
Crucial M4 64GB SSD SuperDrive Stock OS X 10.8.2 
OSMonitorKeyboardMouse
Ubuntu 12.04 1920x1200 Built-in Trackpad 
Audio
Built-in 
  hide details  
Reply
Unobtainium
(21 items)
 
Brother's System
(14 items)
 
MacBook Pro 17"
(13 items)
 
CPUMotherboardGraphicsGraphics
3770k @ 4.5 1.312 load z77 Sabertooth GTX 670 FTW 1254/1700  Galaxy GTX 670 1254/1700 1.212 
RAMHard DriveHard DriveHard Drive
Patriot Viper Xtreme D2 1600  RAID 5 (3x750GB) 2TB Baraccuda Samsung 830 128GB 
Hard DriveOptical DriveCoolingOS
1TB Caviar Green  <.< DVD drive H100 WIndows 8 Pro 64 bit 
MonitorKeyboardPowerCase
Acer G235H Logitech thing Seasonic X 760W CM690 II Adv. 
MouseMouse PadAudioAudio
Logitech G400 Belkin AKG A701 JDS Labs Objective 2 
Audio
X-Fi Champion 
CPUMotherboardGraphicsRAM
Core i5 750 @ Stock ASUS P7P55d-E Pro GTX 550 Ti SLI 8GB (4x2GB) G.Skill DDR3 1600 
Hard DriveHard DriveOptical DriveOS
Samsung 830 128GB 3x1TB RAID 5 Some DVD drive 7 Pro X64 
MonitorPowerCaseMouse
Some 17" TX 750 HAF 922 G500 
CPUMotherboardGraphicsRAM
C2D T7800 @ 2.6GHz Apple mobo w/ GM-965 chipset 8600M GT 256MB GDDR3 :/ 4GB 667 
Hard DriveOptical DriveCoolingOS
Crucial M4 64GB SSD SuperDrive Stock OS X 10.8.2 
OSMonitorKeyboardMouse
Ubuntu 12.04 1920x1200 Built-in Trackpad 
Audio
Built-in 
  hide details  
Reply
post #2 of 12
Wow gonna check my Mac Air. Seems Apple mail is the only mail application that can actually do a good job at filtering spam and junk mail though.
    
CPUMotherboardGraphicsRAM
i7 3770k Gigabyte Z77-UD5H-WB Golden GTX 670 Windforce 3X 2 x 4GB GSkill RipJawsX 
Hard DriveCoolingOSMonitor
OCZ Vertex 4 64GB- WD Caviar Black 1TB Noctua NH-D14 Windows 7 Dell U2311H IPS 
KeyboardPowerCaseMouse
xArmor iOne U9BL MX Blues Seasonic x750 LIAN LI PC-T60B Logitech G500 
Audio
Modded JVC HA-RX900 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
i7 3770k Gigabyte Z77-UD5H-WB Golden GTX 670 Windforce 3X 2 x 4GB GSkill RipJawsX 
Hard DriveCoolingOSMonitor
OCZ Vertex 4 64GB- WD Caviar Black 1TB Noctua NH-D14 Windows 7 Dell U2311H IPS 
KeyboardPowerCaseMouse
xArmor iOne U9BL MX Blues Seasonic x750 LIAN LI PC-T60B Logitech G500 
Audio
Modded JVC HA-RX900 
  hide details  
Reply
post #3 of 12
Thread Starter 

The best way is to drop down into terminal and navigate to your user profile's Mail folder under your user Library. Then do an ls -lha (list all normal and hidden files in a human readable form). Though the ls command doesn't always do you justice. It doesn't hurt to navigate to it under Finder (just press Shift + Command + G to bring up the go to window and type in ~/Library/Mail/V2). Right click on your mailboxes and look at their sizes. If you see anything stupid in size, check the recovered messages folder. It is big, delete it along with the .mbox.Cache.plist. That will take care of the offending message(s) that are stuck sideways, and save you space on your drive. 

Unobtainium
(21 items)
 
Brother's System
(14 items)
 
MacBook Pro 17"
(13 items)
 
CPUMotherboardGraphicsGraphics
3770k @ 4.5 1.312 load z77 Sabertooth GTX 670 FTW 1254/1700  Galaxy GTX 670 1254/1700 1.212 
RAMHard DriveHard DriveHard Drive
Patriot Viper Xtreme D2 1600  RAID 5 (3x750GB) 2TB Baraccuda Samsung 830 128GB 
Hard DriveOptical DriveCoolingOS
1TB Caviar Green  <.< DVD drive H100 WIndows 8 Pro 64 bit 
MonitorKeyboardPowerCase
Acer G235H Logitech thing Seasonic X 760W CM690 II Adv. 
MouseMouse PadAudioAudio
Logitech G400 Belkin AKG A701 JDS Labs Objective 2 
Audio
X-Fi Champion 
CPUMotherboardGraphicsRAM
Core i5 750 @ Stock ASUS P7P55d-E Pro GTX 550 Ti SLI 8GB (4x2GB) G.Skill DDR3 1600 
Hard DriveHard DriveOptical DriveOS
Samsung 830 128GB 3x1TB RAID 5 Some DVD drive 7 Pro X64 
MonitorPowerCaseMouse
Some 17" TX 750 HAF 922 G500 
CPUMotherboardGraphicsRAM
C2D T7800 @ 2.6GHz Apple mobo w/ GM-965 chipset 8600M GT 256MB GDDR3 :/ 4GB 667 
Hard DriveOptical DriveCoolingOS
Crucial M4 64GB SSD SuperDrive Stock OS X 10.8.2 
OSMonitorKeyboardMouse
Ubuntu 12.04 1920x1200 Built-in Trackpad 
Audio
Built-in 
  hide details  
Reply
Unobtainium
(21 items)
 
Brother's System
(14 items)
 
MacBook Pro 17"
(13 items)
 
CPUMotherboardGraphicsGraphics
3770k @ 4.5 1.312 load z77 Sabertooth GTX 670 FTW 1254/1700  Galaxy GTX 670 1254/1700 1.212 
RAMHard DriveHard DriveHard Drive
Patriot Viper Xtreme D2 1600  RAID 5 (3x750GB) 2TB Baraccuda Samsung 830 128GB 
Hard DriveOptical DriveCoolingOS
1TB Caviar Green  <.< DVD drive H100 WIndows 8 Pro 64 bit 
MonitorKeyboardPowerCase
Acer G235H Logitech thing Seasonic X 760W CM690 II Adv. 
MouseMouse PadAudioAudio
Logitech G400 Belkin AKG A701 JDS Labs Objective 2 
Audio
X-Fi Champion 
CPUMotherboardGraphicsRAM
Core i5 750 @ Stock ASUS P7P55d-E Pro GTX 550 Ti SLI 8GB (4x2GB) G.Skill DDR3 1600 
Hard DriveHard DriveOptical DriveOS
Samsung 830 128GB 3x1TB RAID 5 Some DVD drive 7 Pro X64 
MonitorPowerCaseMouse
Some 17" TX 750 HAF 922 G500 
CPUMotherboardGraphicsRAM
C2D T7800 @ 2.6GHz Apple mobo w/ GM-965 chipset 8600M GT 256MB GDDR3 :/ 4GB 667 
Hard DriveOptical DriveCoolingOS
Crucial M4 64GB SSD SuperDrive Stock OS X 10.8.2 
OSMonitorKeyboardMouse
Ubuntu 12.04 1920x1200 Built-in Trackpad 
Audio
Built-in 
  hide details  
Reply
post #4 of 12
What version of mail is this? I don't remember seeing this since like 10.4.
Six
(15 items)
 
For Sale: Alienware M18x
$1,500 (USD)
 
Reply
Six
(15 items)
 
For Sale: Alienware M18x
$1,500 (USD)
 
Reply
post #5 of 12
Thread Starter 

It happens on ALL versions of mail. The recent one I did this for was on Mail for on OSX 10.7.5

Unobtainium
(21 items)
 
Brother's System
(14 items)
 
MacBook Pro 17"
(13 items)
 
CPUMotherboardGraphicsGraphics
3770k @ 4.5 1.312 load z77 Sabertooth GTX 670 FTW 1254/1700  Galaxy GTX 670 1254/1700 1.212 
RAMHard DriveHard DriveHard Drive
Patriot Viper Xtreme D2 1600  RAID 5 (3x750GB) 2TB Baraccuda Samsung 830 128GB 
Hard DriveOptical DriveCoolingOS
1TB Caviar Green  <.< DVD drive H100 WIndows 8 Pro 64 bit 
MonitorKeyboardPowerCase
Acer G235H Logitech thing Seasonic X 760W CM690 II Adv. 
MouseMouse PadAudioAudio
Logitech G400 Belkin AKG A701 JDS Labs Objective 2 
Audio
X-Fi Champion 
CPUMotherboardGraphicsRAM
Core i5 750 @ Stock ASUS P7P55d-E Pro GTX 550 Ti SLI 8GB (4x2GB) G.Skill DDR3 1600 
Hard DriveHard DriveOptical DriveOS
Samsung 830 128GB 3x1TB RAID 5 Some DVD drive 7 Pro X64 
MonitorPowerCaseMouse
Some 17" TX 750 HAF 922 G500 
CPUMotherboardGraphicsRAM
C2D T7800 @ 2.6GHz Apple mobo w/ GM-965 chipset 8600M GT 256MB GDDR3 :/ 4GB 667 
Hard DriveOptical DriveCoolingOS
Crucial M4 64GB SSD SuperDrive Stock OS X 10.8.2 
OSMonitorKeyboardMouse
Ubuntu 12.04 1920x1200 Built-in Trackpad 
Audio
Built-in 
  hide details  
Reply
Unobtainium
(21 items)
 
Brother's System
(14 items)
 
MacBook Pro 17"
(13 items)
 
CPUMotherboardGraphicsGraphics
3770k @ 4.5 1.312 load z77 Sabertooth GTX 670 FTW 1254/1700  Galaxy GTX 670 1254/1700 1.212 
RAMHard DriveHard DriveHard Drive
Patriot Viper Xtreme D2 1600  RAID 5 (3x750GB) 2TB Baraccuda Samsung 830 128GB 
Hard DriveOptical DriveCoolingOS
1TB Caviar Green  <.< DVD drive H100 WIndows 8 Pro 64 bit 
MonitorKeyboardPowerCase
Acer G235H Logitech thing Seasonic X 760W CM690 II Adv. 
MouseMouse PadAudioAudio
Logitech G400 Belkin AKG A701 JDS Labs Objective 2 
Audio
X-Fi Champion 
CPUMotherboardGraphicsRAM
Core i5 750 @ Stock ASUS P7P55d-E Pro GTX 550 Ti SLI 8GB (4x2GB) G.Skill DDR3 1600 
Hard DriveHard DriveOptical DriveOS
Samsung 830 128GB 3x1TB RAID 5 Some DVD drive 7 Pro X64 
MonitorPowerCaseMouse
Some 17" TX 750 HAF 922 G500 
CPUMotherboardGraphicsRAM
C2D T7800 @ 2.6GHz Apple mobo w/ GM-965 chipset 8600M GT 256MB GDDR3 :/ 4GB 667 
Hard DriveOptical DriveCoolingOS
Crucial M4 64GB SSD SuperDrive Stock OS X 10.8.2 
OSMonitorKeyboardMouse
Ubuntu 12.04 1920x1200 Built-in Trackpad 
Audio
Built-in 
  hide details  
Reply
post #6 of 12
I checked my mail folder and it's only 1.71GB and I usually never delete mail. My guess is that mail copies everything locally for indexing? I know I often use Spotlight to search my mail archives so I actually find it to be useful.
G36 "Terminus"
(13 items)
 
  
CPUMotherboardGraphicsRAM
Xeon X3440 OC 3.0Ghz EVGA P55 LE XFX Radeon HD 5770 4Gb Ripjaws DDR3 2000 
Hard DriveOptical DriveOSMonitor
WD Black 750Gb Sony Optiarc Windows 7 Pro Sceptre 22'' Widescreen 
KeyboardPowerCaseMouse
G15 Antec True Power 750 watt CM Storm Scout Microsoft 
  hide details  
Reply
G36 "Terminus"
(13 items)
 
  
CPUMotherboardGraphicsRAM
Xeon X3440 OC 3.0Ghz EVGA P55 LE XFX Radeon HD 5770 4Gb Ripjaws DDR3 2000 
Hard DriveOptical DriveOSMonitor
WD Black 750Gb Sony Optiarc Windows 7 Pro Sceptre 22'' Widescreen 
KeyboardPowerCaseMouse
G15 Antec True Power 750 watt CM Storm Scout Microsoft 
  hide details  
Reply
post #7 of 12
That's epic!

just checked mine and it was about 2GB, wasn't really aware about this till now. Thanks for the heads up thumb.gif
post #8 of 12
698gb? In mail? Holy crap, that's unbelievable!
    
CPUMotherboardGraphicsRAM
AMD Phenom II X4 Black Edition ASUS M5A97  PNY GTX465 G. Skill Ripjaws 4gbx2 DDR3 1600 
Hard DriveOptical DriveCoolingOS
Western Digital Caviar Black 1TB LG DVD Burner ThermalTake DuOrb  Windows 7 Professional x64 
MonitorPowerCase
ViewSonic 19" LCD ThermalTake Purepower 500W Ark PA08 Mid Tower case 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
AMD Phenom II X4 Black Edition ASUS M5A97  PNY GTX465 G. Skill Ripjaws 4gbx2 DDR3 1600 
Hard DriveOptical DriveCoolingOS
Western Digital Caviar Black 1TB LG DVD Burner ThermalTake DuOrb  Windows 7 Professional x64 
MonitorPowerCase
ViewSonic 19" LCD ThermalTake Purepower 500W Ark PA08 Mid Tower case 
  hide details  
Reply
post #9 of 12
Doing the math, assuming a 10mb email size limit, that would be almost 70,000 emails. There has to have been a bug involved.
G36 "Terminus"
(13 items)
 
  
CPUMotherboardGraphicsRAM
Xeon X3440 OC 3.0Ghz EVGA P55 LE XFX Radeon HD 5770 4Gb Ripjaws DDR3 2000 
Hard DriveOptical DriveOSMonitor
WD Black 750Gb Sony Optiarc Windows 7 Pro Sceptre 22'' Widescreen 
KeyboardPowerCaseMouse
G15 Antec True Power 750 watt CM Storm Scout Microsoft 
  hide details  
Reply
G36 "Terminus"
(13 items)
 
  
CPUMotherboardGraphicsRAM
Xeon X3440 OC 3.0Ghz EVGA P55 LE XFX Radeon HD 5770 4Gb Ripjaws DDR3 2000 
Hard DriveOptical DriveOSMonitor
WD Black 750Gb Sony Optiarc Windows 7 Pro Sceptre 22'' Widescreen 
KeyboardPowerCaseMouse
G15 Antec True Power 750 watt CM Storm Scout Microsoft 
  hide details  
Reply
post #10 of 12
Thread Starter 

For whatever reason a malformed email gets stuck inside of mail and tries to send it, fails, recovers. Then for whatever reason repeats this OVER AND OVER again in a loop. The only way to break the cycle is remove the recovered messages folder and blow away the mbox cache. 

Unobtainium
(21 items)
 
Brother's System
(14 items)
 
MacBook Pro 17"
(13 items)
 
CPUMotherboardGraphicsGraphics
3770k @ 4.5 1.312 load z77 Sabertooth GTX 670 FTW 1254/1700  Galaxy GTX 670 1254/1700 1.212 
RAMHard DriveHard DriveHard Drive
Patriot Viper Xtreme D2 1600  RAID 5 (3x750GB) 2TB Baraccuda Samsung 830 128GB 
Hard DriveOptical DriveCoolingOS
1TB Caviar Green  <.< DVD drive H100 WIndows 8 Pro 64 bit 
MonitorKeyboardPowerCase
Acer G235H Logitech thing Seasonic X 760W CM690 II Adv. 
MouseMouse PadAudioAudio
Logitech G400 Belkin AKG A701 JDS Labs Objective 2 
Audio
X-Fi Champion 
CPUMotherboardGraphicsRAM
Core i5 750 @ Stock ASUS P7P55d-E Pro GTX 550 Ti SLI 8GB (4x2GB) G.Skill DDR3 1600 
Hard DriveHard DriveOptical DriveOS
Samsung 830 128GB 3x1TB RAID 5 Some DVD drive 7 Pro X64 
MonitorPowerCaseMouse
Some 17" TX 750 HAF 922 G500 
CPUMotherboardGraphicsRAM
C2D T7800 @ 2.6GHz Apple mobo w/ GM-965 chipset 8600M GT 256MB GDDR3 :/ 4GB 667 
Hard DriveOptical DriveCoolingOS
Crucial M4 64GB SSD SuperDrive Stock OS X 10.8.2 
OSMonitorKeyboardMouse
Ubuntu 12.04 1920x1200 Built-in Trackpad 
Audio
Built-in 
  hide details  
Reply
Unobtainium
(21 items)
 
Brother's System
(14 items)
 
MacBook Pro 17"
(13 items)
 
CPUMotherboardGraphicsGraphics
3770k @ 4.5 1.312 load z77 Sabertooth GTX 670 FTW 1254/1700  Galaxy GTX 670 1254/1700 1.212 
RAMHard DriveHard DriveHard Drive
Patriot Viper Xtreme D2 1600  RAID 5 (3x750GB) 2TB Baraccuda Samsung 830 128GB 
Hard DriveOptical DriveCoolingOS
1TB Caviar Green  <.< DVD drive H100 WIndows 8 Pro 64 bit 
MonitorKeyboardPowerCase
Acer G235H Logitech thing Seasonic X 760W CM690 II Adv. 
MouseMouse PadAudioAudio
Logitech G400 Belkin AKG A701 JDS Labs Objective 2 
Audio
X-Fi Champion 
CPUMotherboardGraphicsRAM
Core i5 750 @ Stock ASUS P7P55d-E Pro GTX 550 Ti SLI 8GB (4x2GB) G.Skill DDR3 1600 
Hard DriveHard DriveOptical DriveOS
Samsung 830 128GB 3x1TB RAID 5 Some DVD drive 7 Pro X64 
MonitorPowerCaseMouse
Some 17" TX 750 HAF 922 G500 
CPUMotherboardGraphicsRAM
C2D T7800 @ 2.6GHz Apple mobo w/ GM-965 chipset 8600M GT 256MB GDDR3 :/ 4GB 667 
Hard DriveOptical DriveCoolingOS
Crucial M4 64GB SSD SuperDrive Stock OS X 10.8.2 
OSMonitorKeyboardMouse
Ubuntu 12.04 1920x1200 Built-in Trackpad 
Audio
Built-in 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Mac
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Mac › How? What? I don't even... (MASSIVE Apple Mail folder) (AKA Mah mac is outta space!!!!)