Temporary Files Hogging Disk Space?

Hello,


I am a satisfied 2010 Macbook Pro user, but have run into a problem that I have been unable to solve on my own.


Recently the PC game League of Legends was released for mac os x and I decided to install it. The installer ran and started downloading files. Before starting the download I had 3 GB of free disk space.


I left the computer running and came back to an error message, I had apparently run out of disk space during the installation. I quit the installer and went to uninstall the League of Legends file from my application folder.


I noticed the file size of the League of Legends was only 800 mb. I deleted it, but find myself with only 1 GB of free disk space after clearing my chrome history files and rebooting.


I'm wondering where my 2 GB of space have gone?


My guess is that the installer put the rest of the League of Legends file in some sort of temporary files directory. I'd like to delete those files, but I have no idea where to locate them on a Mac.


Cheers,

Jon

MacBook Pro, Mac OS X (10.6.8)

Posted on Mar 12, 2013 11:12 PM

Reply
8 replies

Mar 12, 2013 11:45 PM in response to Variables

Your remaining disk space was very low even before starting the download. When it gets that low interesting things tend to happen.


I recommend you look in your Downloads folder for anything you can delete. Any temporary downloads will have been placed there. Generally speaking all disk image (.dmg) files are no longer necessary after you have installed the apps and other files they contain, so drag them to the Trash. Delete old Mail messages and erase deleted items in all accounts. Empty iPhoto's Trash, same for iMovie. Look for old music files, movies, pictures, or podcasts. Don't forget to empty the Trash (obvious, but sometimes forgotten). Get your free disk space into the double digits so that OS X has some room to work. Then, try to download and install LoL again.


More information here, courtesy of Apple Support Communities contributor Pondini's FAQ:


Mar 14, 2013 4:18 PM in response to John Galt

Hi John:


Thank you for your help, Pondini's FAQ was interesting.


However, by temporary files directory I meant private/var/tmp not the downloads folder.


I have also scoured the:


  • ~/Library
  • ~/Library/Application Support
  • ~/Library/Preferences
  • ~/Library/PreferencePanes
  • ~/Library/StartupItems


folders for any traces of League of Legends, but there were none. What is confusing me is the .dmg file I deleted was only 800mb while the disk space I lost (while it was installing) was greater than 3 GB.


Cheers,

Jon


edit: I have also used Disk Inventory X, which showed that the files in my priv/var/tmp were greater than 1 GB.

Mar 14, 2013 5:00 PM in response to Variables

Consider booting from your Snow Leopard or original System Install DVD and running Disk Utility. Repair the disk. Doing so may resolve any discrepancy between what the Finder is reporting and the actual amount of free space available, if such a discrepancy exists. The possibility of a discrepancy increases if your available space becomes very small, which yours certainly is.


The contents of /private/var/tmp/ is for OS X to manage, but its contents total almost nothing on this Mac:


Johns-iMac:~ john$ sudo ls -l /private/var/tmp/

Password:

total 16

-rw-r--r--@ 1 john wheel 6148 Feb 12 12:24 .DS_Store

srw-rw-rw- 1 root wheel 0 Mar 13 00:37 com.barebones.authd.socket

drwx------ 3 root wheel 102 Mar 13 00:37 launchd

Johns-iMac:~ john$


Reboot your Mac, then find out what is in yours: in Terminal, use sudo ls -l /private/var/tmp/ as in the above.


Type your Admin password at the prompt and press Return. Terminal does not echo the characters. Copy and past its results in a reply.

May 15, 2013 5:58 AM in response to hajen78

I'm having the same problem. My daughter started playing League of Lengends and since she started it has deposited 18GB of TMPxxxxxx files in the private/var/tmp folder.


My OS is on a smaller SSD an so it maxed out my storage. I'm just deleting all the files. If you sort by file size, the top ten largest files account for 60% of space. There was approximately 150,000 files generated in less than two weeks.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Temporary Files Hogging Disk Space?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.