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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T09:46:39+00:00 2026-05-19T09:46:39+00:00

as question says, it dies at 7mb.. Is this normal? ( 7mb..) instruments shows

  • 0

as question says, it dies at 7mb..

Is this normal? ( 7mb..)
instruments shows no leaks.

Thank you

  • EDIT

edited 17mb -> 7mb.
I lowered memory usage by taking out unnecessary pool I was allocating.

Still, it gets memory warning at 7 mb..
I’m essentially creating images and releasing them constantly when it gets the warning.

I’m doing a lot of

- (UIImage*) allocImage
{
    NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
    UIImage* uiImage = [UIImage imageWithData: imageData];
    UIImage* changedImage = [uiImage changeColor: self.currentColor];
    uiImage = changedImage;
    [uiImage retain];
    [pool release];

    return uiImage;
}

and releasing the uiImage I got (instruments shows memory goes up by 2-3 mb and goes back to 7mb)

Each image is 1mb big on memory, and I should probably have create/destroyed image about 100 times by the time the app gets the warning.

  • Edit 2

found similar case, no solution there though..

My iphone app gets memory warning and killed at 6.8MB
Memory Warning but Small Live Bytes

Maybe I should move “creating UIImage” to c/c++ code? so that I don’t have to worry about loading many images? Wonder if that’s possible.
Or maybe use pool of memory for images since image size is all the same.

  • 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-05-19T09:46:40+00:00Added an answer on May 19, 2026 at 9:46 am

    It depends on a lot of factors, the device in question, the iOS version, what else is happening on the device at the same time, etc. Basically, you should take the warnings seriously whenever they arrive. Getting the warnings is not a problem. Doing nothing when you get them is a bad idea.

    In my experience, 17Mb is on the low side of normal.

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

Sidebar

Related Questions

As the question says, it just escaped my memory how to display xml in
Question says it all, I believe. Please and thank you GC
What the question says. In addition, is it possible to do this inline? Here
Question says it all, really. My application is a time tracker. It's currently written
Question says it all, I've got a 500,000 line file that gets generated as
The question says it all basically. I want in a class MyClass to listen
The question says it all. I can't seem to find any recent rails tutorials
The question says it all! I am looking for an easy to use alternative
I think the question says it all. I'm new to Eclipse plugin development, so
As the question says, how do I set the value of a DropDownList control

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.