Re: Application size growing
Re: Application size growing
- Subject: Re: Application size growing
- From: Damien Cooke <email@hidden>
- Date: Mon, 03 Mar 2014 13:56:34 +1030
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.
Thanks guys for your assistance.
Regards
Damien
On 23/02/2014, at 11:34 AM, Roland King <email@hidden> wrote:
>
> On 23 Feb, 2014, at 7:19 am, Jens Alfke <email@hidden> wrote:
>
>>
>> On Feb 22, 2014, at 2:07 PM, Damien Cooke <email@hidden> wrote:
>>
>>> The problem is the app is gaining about 200Mb after each movie and the only cure is to delete the app. Where is this all going if I write all my stuff into one place and delete the directory later?
>>
>> If this reproduces in the simulator, you can locate the app’s directory (buried way down in ~/Library) and examine the hierarchy to see where the 200MB is and what the file(s) look like. That should provide a clue.
>>
>> If it only happens on a real device, you can write a bit of code to recursively iterate the directory tree and log the files and amount of space.
>
>
> Or use the Devices Explorer in Xcode for a development version of the app and dump the contents of the app directory, or iExplorer which does a remarkably good job of inspecting most things on a real device (without jailbreaking it).
>
_______________________________________________
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