Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Emulator takes long to start

 
Saurabh Pillai
Ranch Hand
Posts: 524
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can I reduce the time period?

I have few points,

1) 2 hardware properties of AVD, MAX VM heap size and Device RAM size. What value do you guys set for each of them?

2) Go to DDMS perspective, under Devices -> your emulator, you see how many processes are online(running). I found here that, there are many processes which has nothing to do with app that I am developing. Is there any way to configure how many processes you want to start when you start your emulator?

 
zoheb hassan
Ranch Hand
Posts: 154
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1) 2 hardware properties of AVD, MAX VM heap size and Device RAM size. What value do you guys set for each of them?


These properties can be given values and this would be helpful if you are targeting a particular end device to deploy your app with values matching that of the device but otherwise you can leave it for its default values and secondly

2) Go to DDMS perspective, under Devices -> your emulator, you see how many processes are online(running). I found here that, there are many processes which has nothing to do with app that I am developing. Is there any way to configure how many processes you want to start when you start your emulator?


I know you are very keen on reducing the start-up time by cutting off the unnecessary processes but resist that urge because you would end up running your app on an android device and the best way to find out how it behaves is emulation and what it is explained here

Best Regards,
Zoheb
 
Tim Moores
Bartender
Posts: 2953
46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I haven't found the emulator taking all that long to start up, except with an Android 3.x AVD (and I didn't tinker with any VM settings). Are you using a reasonably state-of-the-art machine, say, no older than 2 years? For development of any kind you generally want a powerful machine.
 
Saurabh Pillai
Ranch Hand
Posts: 524
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you using a reasonably state-of-the-art machine, say, no older than 2 years? For development of any kind you generally want a powerful machine.

I have pretty powerful machine, Dell Vostro 1510 1.80GHz, Intel Core 2 Duo, 3 GB RAM. Windows XP SP 3

These properties can be given values and this would be helpful if you are targeting a particular end device to deploy your app with values matching that of the device

When I set to values explicitly that is MORE than default values, I often get this emulator does not start error. See screen shot attached.
emulator-error.PNG
[Thumbnail for emulator-error.PNG]
 
zoheb hassan
Ranch Hand
Posts: 154
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Saurabh the config you consider powerful is actually pretty dated, the current gen talks in terms of core i5's and i7's from intel and PhenomII processors from AMD all dual or quad cores operating at speeds exceeding 3 GHz.Now those are the ones rocking the market and Man if you own one of these the performance is gonna be awesome

-Zoheb
 
Saurabh Pillai
Ranch Hand
Posts: 524
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Zoheb. I may buy new machine.

By the way, I am wondering if you can give your thoughts on emulator-does-not-start problem.

Thanks again.
 
zoheb hassan
Ranch Hand
Posts: 154
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you are getting a new machine for the sake of android development only, i suggest you rather get a new android device it's cheaper and the pleasure of running your app run on a device is great and as for the emulator cannot run problem might be due to hardware limitation and oh hey when you feel that your topic got the right answer i.e., you were able solve the issue for which you created a topic just go ahead and mark it as resolved.it would help guys facing similar problems

-Zoheb
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic