• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Application size growing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Application size growing


  • Subject: Re: Application size growing
  • From: Kyle Sluder <email@hidden>
  • Date: Sun, 02 Mar 2014 20:42:40 -0800

On Sun, Mar 2, 2014, at 07:26 PM, Damien Cooke wrote:
> For completeness sake.  I thought I would share the answer.  I realised
> that this was a good problem when I saw others were complaining about the
> same thing with no answers, it turns out that when capturing the video,
> iOS stores these files in the /tmp directory and does not remove them
> immediately or when app is restated or even the phone is restarted for
> some reason.  So I cleared this out also after the video is marked for
> upload and the problem is completely resolved.

As per the iOS App Programming Guide, this is intentional. /tmp is a
safe place to put work in progress that you don't want backed up, but
you also don't want to lose. Therefore, it's your responsibility to
clean it out. This is in contrast to the contents of /Library/Caches,
which the system will automatically clean up when it deems fit or
necessary, and thus is not a safe location for anything that cannot be
recreated.

https://developer.apple.com/library/ios/documentation/iphone/conceptual/iphoneosprogrammingguide/PerformanceTuning/PerformanceTuning.html

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >Re: Application size growing (From: Damien Cooke <email@hidden>)

  • Prev by Date: Re: Application size growing
  • Next by Date: Re: Debugging insight needed for NSKeyedUnarchiver
  • Previous by thread: Re: Application size growing
  • Next by thread: NSOperation Dispatch Thread Soft Limit
  • Index(es):
    • Date
    • Thread