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 7748935
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T10:54:48+00:00 2026-06-01T10:54:48+00:00

I implemented an NSMutableArray in my app which has approximately 12,000 strings in it.

  • 0

I implemented an NSMutableArray in my app which has approximately 12,000 strings in it. In the allocations instrument it takes roughly 1000 KB and causes my total allocations to be 2200 KB.

Will using a massive array like this cause low memory warnings?

I have noticed low memory warning in the allocations instrument. Is there a way to see the total used/available memory of the device?

  • 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-01T10:54:49+00:00Added an answer on June 1, 2026 at 10:54 am

    There’s no way to view the ‘available’ memory, although Instruments will happily show you how much your app is consuming. This is for a number of reasons: even if it did show you how much memory was ‘available’ it wouldn’t be very useful because it varies considerably in the field depending on what’s in the background, whether you’re listening to music, on a call, etc.

    It’s because of this problem that you have memory warnings: there are several levels, and they provide your app with opportunities to free up memory and avoid being terminated.

    However, the 2200 KB you’re talking about it not really that much in the grand scheme of things (if it helps you visualize these things, a 1024×768 image takes up more memory than that). So I wouldn’t worry too much: that said, it’s always beneficial to have your app respond to memory warnings by freeing up objects you don’t need, if you can.

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

Sidebar

Related Questions

I implemented a fonction in Visual Basic 2008 that takes the content of all
I implemented a WPF application which use NavigationService to navigate between pages. When I
Our app has a UITableViewController with some custom section headers. These section headers are
Basically I have an NSMutableArray of NSDictionaries stored to NSUserDefaults. I have implemented tableview
I know it has been asked before: iPhone In App Purchase - response.products are
NSMutableArray *tblContents = [NSMutableArray arrayWithObjects: @1, @2, @3, nil]; [tblContents addObject:txtNewTableRow.text]; My app is
I have an NSMutableArray in with data (hard coded). I implemented these two TableView
Im making an app similar to apples weather app. My main view has a
Short description of my setup: There is an SQLObject base class which has an
My app consists of an image gallery. It is a scroll view which displays

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.