• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

VM Heap Size and Device RAM

 
adithya narayan
Ranch Hand
Posts: 79
Android Eclipse IDE Firefox Browser
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic