Page 1 of 1

Windows XP guest process is suspend when the guest OS window

Posted: 13. Apr 2015, 17:21
by stonegump
On my iMAC Yosemite 10.10.3, I installed virtual box 4.3.26 and Windows XP as the guest OS.
I have a Java application running on Windows XP (guest), it keeps monitoring the stock price and printing some messages.
The problem is that when the guest OS window is minimized to the dock, the process is suspend and no messages printed unless the guest Windows is displayed. I don't want it run in headless mode as I need check it randomly. Any suggest is appreciated. Thanks

Re: Windows XP guest process is suspend when the guest OS wi

Posted: 13. Apr 2015, 19:28
by loukingjr
Two things come to mind although I don't know if they will fix your problem.
1. Enable Prevent App Nap for VirtualBox. Right click on the VirtualBox application icon>Get Info>Prevent App Nap.
2. Instead of hiding VirtualBox to the dock, use Missions Control to give the guest its own Space.

Re: Windows XP guest process is suspend when the guest OS wi

Posted: 13. Apr 2015, 21:26
by stonegump
Thank you. I will try after I go home and will update.

Re: Windows XP guest process is suspend when the guest OS wi

Posted: 14. Apr 2015, 04:50
by stonegump
I tried Prevent App Nap and it worked like a charm.
Cheers

Re: Windows XP guest process is suspend when the guest OS wi

Posted: 14. Apr 2015, 04:53
by loukingjr
Good to hear.

Re: Windows XP guest process is suspend when the guest OS wi

Posted: 16. Apr 2015, 22:15
by stonegump
Mac has an aggressive hibernation/standby so the below is run additionally:

sudo pmset -a hibernatemode 0
sudo pmset -a autopoweroff 0
sudo pmset standbydelay 10800000

Press Ctrl+Shit+Eject to turn off the screen