How can I prevent extra ANDROID_HOME processes from spawning when the Simulator is started?

book

Article ID: 38028

calendar_today

Updated On:

Products

CA Application Test Service Virtualization CA Continuous Application Insight (PathFinder) CA Service Virtualization (DevTest / LISA / VSE / Application Test)

Issue/Introduction

Issue: 

I have almost a 100 odd instances of the below process on my DevTest server. These are running at 100% CPU. Killing the PIDs just causes more processes to spawn up. Can you tell me how to fix this?

ps -eo pid,args | grep ANDROID_HOME

6233 /bin/bash -i -c echo $ANDROID_HOME

 

Environment:  

All supported DevTest Windows, UNIX and Linux platforms

 

Cause: 

The Simulator is spawning off extra ANDROID_HOME processes when the Simulator is started regardless if you are doing Mobile testing or not.

 

Resolution:

1. Stop your Simulator.

2. You will have to kill all of the ANDROID_HOME processes.

3. Update the local.properties file and add this property:

    ANDROID_HOME=""

4. Start the Simulator. 

5. The extra ANDROID_HOME processes will not be started.

Environment

Release: LSASVR99000-8.1-LISA-Server
Component: