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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T15:23:51+00:00 2026-05-28T15:23:51+00:00

I have a strange situation. I have a fairly memory intense process (image processing)

  • 0

I have a strange situation. I have a fairly memory intense process (image processing) running, but I’ve worked out all the kinks and it runs just fine 99% of the time.

However, if I put the app in an inactive or background state, when returning and trying to run the same process I get memory warnings and then the app crashes.

I have used instruments to analyze the memory footprint in the two use cases and the memory footprint is exactly the same. However, in the case where I do not put the application into the background (or inactive) it doesn’t give me any memory errors and completes fine. In the use case where it was put into the background (or inactive) I get memory errors and it crashes.

Does anybody have any information on this? I have been scouring the net / irc / stack over / apple docs trying to figure this out. Is apple (iOS) reducing the amount of memory my app is allowed to run with after I return from the background? Is there any way to prevent this? Or am I overlooking some other more simple solution?

(Note, there aren’t memory leaks)

  • 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-28T15:23:52+00:00Added an answer on May 28, 2026 at 3:23 pm

    Alright figured it out – iOS isn’t doing anything stupid, it was of course the developer 🙂 There was another component (ViewController) to my project which did some stuff when returning from the background, such as allocating memory. However, this view wasn’t active so allocating the memory it needed proved to be useless. After cleaning up the code I didn’t run into any memory errors.

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

Sidebar

Related Questions

I have a very strange situation. I have a large set of records to
I tried to draw a model with 197 polygons but i have strange black
I have a strange issue: I am using SPContext.Current.Web in a .aspx page, but
I have a strange situation where i have added a reference to Microsoft.SqlServer.Smo Microsoft.SqlServer.ConnectionInfo
i have a strange situation may its a easy fix or something i may
We have a strange situation where we lose a Stateless SessionBean in a Bean
I have a strange situation using asp ajax chart controls. I have an application
I'm in a strange situation where I have a value of 0.5 and I
I am new to VB.net and facing a strange situation. I have a structure
I have a strange situation where the code: c = Class.new { eval parser

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.