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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T06:00:41+00:00 2026-06-08T06:00:41+00:00

I read somewhere that broadcast receiver runs in a separate process than the app,

  • 0

I read somewhere that broadcast receiver runs in a separate process than the app, and because of this it has an own heap. Now if in the broadcast receiver I start an activity from my app, will this be running in the app’s process or still in the process of the broadcast receiver?

Is the answer of this question also true for native heap (pre-honeycomb API)?.

Wondering because I have to start a memory expensive activity / screen when I receive a push notification, and if I’m in the middle of some other memory expensive activity, in the app, it will probably cause an out of memory error. But if it’s a separate heap (more specifically – native heap, since the memory consumption comes from bitmaps and I’m developing for API pre-honeycomb) I don’t have to worry about it.

Note “read somewhere” refers to: Why so much memory?
Nikolay Chorniy’s post

“There is a tricky workaround which I used to avoid OutOfMemoryError. I registered a receiver so that it ran on different process…”

  • 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-08T06:00:43+00:00Added an answer on June 8, 2026 at 6:00 am

    I read somewhere that broadcast receiver runs in a separate process than the app

    All components run in the same process by default.

    Wondering because I have to start a memory expensive activity / screen when I receive a push notification

    The user may not necessarily appreciate you displaying “a memory expensive activity / screen” in the middle of nowhere.

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

Sidebar

Related Questions

I thought I read somewhere that the WebRole runs in a different process than
I read somewhere that snprintf is faster than ostringstream. Has anyone has any experiences
I read somewhere that you should separate you web pages into 3 tiers: Fetch,
I read somewhere that synchronized(this) should be avoided for various reasons . Yet some
I read somewhere that using BOOL (typedef int) is better than using the standard
I read somewhere that ruby threads/fibre block the IO even with 1.9. Is this
I read somewhere that you can stop Magento from requiring two product descriptions... this
I read somewhere that with NSString in an object, one has to use copy
I've read somewhere that you can snap the object after it has been moved,
I have read somewhere that CreateGraphics() will do this steps for us : BeginPaint

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.