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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T02:32:00+00:00 2026-06-03T02:32:00+00:00

I have a test for my Android application, and it’s running without problems. But

  • 0

I have a test for my Android application, and it’s running without problems. But when I added clickOnView for one button it failed after clicking, Like:

Test run failed: Instrumentation run failed due to 'java.lang.OutOfMemoryError' bitmap size exceeds VM budget

Do you have any ideas why can this be happening? Should I create another AVD with bigger SD-card size? In the one I’m using I have 128MB.

  • 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-03T02:32:02+00:00Added an answer on June 3, 2026 at 2:32 am

    The OutOfMemoryError has nothing to do with the AVM you created nor the SD-card you have set up.

    The amount of memory used to handle your bitmaps is simple too big. You probably use bitmaps that are too big in dimension and/or too many of them.

    You should check how you handle bitmaps in your application and/or test and see if you can improve them.

    Useful reading: Displaying Bitmaps Efficiently

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

Sidebar

Related Questions

I have read that I can test android application on a emulator, but I
After I have set up all the unit test cases for my android application
I have just finished my android application and now it's time to test it
I heard that for testing android application you have to test them on 2
I'm just trying to test an android application using Robotium. The issue I have
I have two projects, my main android application and another test project that runs
I have an Android test project in which I test my main application. The
I have implemented a simple Android application that I now would like to test
I have setup an android test project that runs junit tests. It's using two
I have Ripple which im using to test app made for android. App is

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.