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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T05:29:38+00:00 2026-05-20T05:29:38+00:00

My app requires the user to go through multiple pages of input (signing up

  • 0

My app requires the user to go through multiple pages of input (signing up process).
As the user goes deeper into the signup, I have to keep the data intact till the user clicks on “finish”. This process involve activity calling sub-activities and those sub activities calling another sub-activity.

The flow is like this: Main -> Sub-Activity (part 1 of signup) -> Sub-Activity (part2) -> Sub-Activity (part 3).

The problem here is, I’m having a low memory warning from the logcat and various processes are being killed as the user goes in deeper into the app. I already tried to save on-hand memory by not passing custom objects among activity but by storing them into mysqllite and retrieving them when needed. One more point to add is, I’m not dealing with images and controls used are just textviews, editviews and spinners.

My question is, is it common to have low memory issues when there are multiple sub-activities chained? How do I go about it to free up memory? Does custom controls uses significantly more memory than preset controls? (One of my hunch)

*Edit* I found the reason for the low memory issues. It has nothing to do with sub activities. The culprit is the custom controls i’m using. I did a test by using the preset controls instead and the overall performance of the app improve drastically. I no longer have the low memory warning and everything works smoothly now.

  • 1 1 Answer
  • 2 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-20T05:29:38+00:00Added an answer on May 20, 2026 at 5:29 am

    I dont think it is common to have memory issues with subactivities.. i have used a tab host with 5 tabs and 3-4 activities in each plus complicated methods http calls and image adapters and there were no issues (this way the activites dont call the onDestroy method but just call onPause and then onResume). try having less global variables ex. just reference the views and get their data when you press the next button to pass to other activity or something like that so that the garbage collector collects the trash. remove some of the references when onPause is called and then if you need them again just reference them again (maybe on onResume)

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

Sidebar

Related Questions

I have an app that requires user to register. I've got the app conected
Lets say you have a web app related Android app that requires the user
I am working on an app which requires that the user be logged in
My app uses a landscape only view and requires the user to answer a
I am building an app which requires saving a form whenever user enter the
I have a rails app which requires users to verify that they own a
I have an app that needs to gain access to a user's friends' information.
I have a mobile app, which is pretty data driven, though only through text
I am trying to create and Android app that requires the user to be
PHP PDO Singleton Class: <?php require_once('app/config.php'); // Require constants HOST, DATABASE, USER, PASSWORD /*

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.