• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

VM Heap Size and Device RAM

 
Ranch Hand
Posts: 79
Android Eclipse IDE Firefox Browser
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

While creating an AVD through eclipse i found that in the 'hardware' attributes we can specify the VM heap size and device RAM ?
VM heap size is the memory allocated to the DAlvik VM i guess (default is 16MB) and the max memory available to the application(s) which will be developed on the emulator.For a real mobile this size can vary (say 256MB,512MB,etc..) correct me if i am wrong.

What does Device RAM mean ?? Can anyone please explain?

Also i was trying to find out the max memory available (i.e. on an emulator it is 16MB ), memory consumed and available memory programmatically.

I went through
1)android.app.ActivityManager.MemoryInfo
2)android.os.Debug.MemoryInfo
3)java.lang.Runtime classes

I also ventured into ddmlib jar to explore. Are there any classes which will help ?

Can anyone please help suggest something?
Attached is the image while creating an AVD.

Thanks,
Adithya.
AVD-Creation.JPG
[Thumbnail for AVD-Creation.JPG]
Attached is the image while creating an AVD
 
adithya narayan
Ranch Hand
Posts: 79
Android Eclipse IDE Firefox Browser
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can anyone please help me out ?
 
adithya narayan
Ranch Hand
Posts: 79
Android Eclipse IDE Firefox Browser
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello W. Frank Ableson/Robi Sen/Chris King,

Can any of you please put some light on the question i have asked above ? That would be very kind !!

Thanks,
Adithya.
 
reply
    Bookmark Topic Watch Topic
  • New Topic