Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8430673
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T05:39:07+00:00 2026-06-10T05:39:07+00:00

The iOS app I’m working on handles very large files (largest being 2.7 gig

  • 0

The iOS app I’m working on handles very large files (largest being 2.7 gig in size), and some sqlite tables, after downloading the large I’m getting console messages like this one :

Aug 24 14:50:28 unknown TheAppName[1407] <Warning>: Error opening database: 14 unable to open database file

Also other issues that happen, loading a view (which has already been loaded and presented) will cause a crash saying “nib cannot be located”.

The app can run without the large file just fine, but it is very useful to have. The question I have is this : Is the large file causing some sort of memory issue, or is there some sort of limit that iOS places on files? I’ve looked around at other places and I’ve been unable to find anything specific to this.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T05:39:09+00:00Added an answer on June 10, 2026 at 5:39 am

    Does it work in the Simulator or do you also have the same issue there?

    I suggest you run your app using Instruments with the ObjectAlloc tool. Its likely you have some leaks in the way you are managing the download. Or, is there free space on the device for this file?

    Others have had success with downloading huge files as long as sufficient space exists on the flash. You can test for this – there are a few functions floating around that tell you how to determine free disk space.

    Another idea: write your file to the disk with the “F_NOCACHE” (fcntl) flag set on the file descriptor. This will cause the writes to bypass the “uniform buffer queue”, which is used to cache disk blocks and for other memory uses, and will greatly reduce stress on the system itself.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an iOS app with a list of objects. Each object has some
For an iOS app I am working on with RestKit I need to parse
My iOS app is showing the contents of a user's address book with some
I have an iPhone (iOS) app that keeps data in a local SQLite database
I'm developing an IOS app that creates files on the device, e.g. with NSKeyedArchiver
In our iOS app we have close to a hundred image files in resources
I have an iOS app which gets some JSON from a server (in the
I am developing an iOS app in which I am streaming .mp3 files using
My iOS app sends MIDI bank and program changes to other devices using PGMidi
The iOS app Display Recorder claims to be able to record the screen of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.