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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T10:02:34+00:00 2026-06-11T10:02:34+00:00

I have an android app that is working perfectly fine on almost all the

  • 0

I have an android app that is working perfectly fine on almost all the Android devices. Recently, I tested this app on Samsung Galaxy S3 and it started crashing on me – it runs out of memory every now and then randomly.

When the app loads up, it loads a splash image and a background image (about 100k in size). When I remove these images from while the app is loading, the app works fine. But when I leave them there, it runs out of memory randomly after the app loads up. I checked the resource directory and the app only has images in the Drawable folder, not in any of the drawable-hdpi or ldpi or mdpi folders. So is the device trying to convert these images to fit the phone’s resolution and it’s using all the memory? Do we have standard image sizes for hdpi, ldpi and mdpi folders? Any help will be greatly appreciated.

  • 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-11T10:02:35+00:00Added an answer on June 11, 2026 at 10:02 am

    The reason my app failed on Galaxy S3 is because Galaxy S3 has a much higher resolution than any other phones I tested my app with. Hence the memory it allocated for the bitmaps was much higher and that caused the app to crash as it ran out of memory. To solve the issue, I simple removed the bitmaps from the view in the onDestroy method and it solved the issue.

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

Sidebar

Related Questions

I have an android app that appears to be working fine - but I
I have Phonegap's Facebook plugin working perfectly within my Android app. This plugin uses
I have an Android app that I had working a few months ago which
For the Android app that I'm working on I have to do some lengthly
I have made an android app which working fine. I implemented the Login functionality
I am working on an Android App that implements Flash Peer-assisted networking. I have
I have Android client app that communicates with server using Socket . On my
I have an android app that I am trying to launch and it gives
I have an Android app that has an Application class and I have another
I have an android app that plays audio from the application class. I have

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.