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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T12:27:28+00:00 2026-06-10T12:27:28+00:00

I have created a new android Emulator based on Android 2.3.3 with 512MB RAM

  • 0

I have created a new android Emulator based on Android 2.3.3 with 512MB RAM and 32/64/128/256/512 Heap Space.

But i still get the same problem all the time i try to install a package with adb install:

D/dalvikvm(  341): GC_CONCURRENT freed 429K, 41% free 3445K/5767K,
external 716K/1038K, paused 5ms+2ms

i get this twice per second and the emulator fed up all the system resources (CPU and RAM).
So is there a bug somewhere in the heap allocation? Or do i need to set the value to something extraordinary high like 65535? This Logoutput does only seems to start when i try to install a package.

Edit: i will specify it a little bit more clearer:
it doesnt matter what value i enter in the config.ini file for the vm.heapSize, in any case i get the same memory value of 5767K from the GC Message above.
So this is truly a bug of the emulator!
And again i didnt programmed anything, i just need my emulator up and running!

  • 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-10T12:27:29+00:00Added an answer on June 10, 2026 at 12:27 pm

    I think you are understanding things a little wrong — the 5767K amount is the current size of the heap, not the maximum size of the heap which what you are changing.

    The Android GC is very aggressive — that is when a new object is created the GC will generally always prefer to clean up old objects to free space than to increase the heap size, which is the behaviour you are seeing here. No matter what size you set the maximum heap to you will not reach it doing what you are doing because in this case the GC is always able to free old memory instead, and so this is what it will do.

    Try writing a program that keeps allocating Bitmaps (and make sure you a keep a reference to all the Bitmaps you create so the GC cannot collect them) and see how large your heap gets then.

    The GC on devices may be a little less aggressive but will probably be similarly tuned.

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

Sidebar

Related Questions

i have one doubt,i have created new project in eclipse with android 2.3.1 and
I am new to android development. I have created a popup window which is
I am new to Android.I have created a dynamic textview which is displayed on
I want to start android tablet application development. i have created a new avd
I am new to Android . I have created a web service in Visual
I am new to work with android tablet api level 12. I have created
I'm new to Android, but have published iphone and bberry apps. I see that
I am new to phonegap and android, I have create a hello world application
I have created a new attribute Catalog -> Attributes -> Manage Attributes COLOR in
I have created a new SharePoint 2007 MOSS Intranet. Our admin people are purchasing

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.