Windows XP guest process is suspend when the guest OS window

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
stonegump
Posts: 8
Joined: 13. Apr 2015, 17:14

Windows XP guest process is suspend when the guest OS window

Post 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
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

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

Post 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.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
stonegump
Posts: 8
Joined: 13. Apr 2015, 17:14

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

Post by stonegump »

Thank you. I will try after I go home and will update.
stonegump
Posts: 8
Joined: 13. Apr 2015, 17:14

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

Post by stonegump »

I tried Prevent App Nap and it worked like a charm.
Cheers
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

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

Post by loukingjr »

Good to hear.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
stonegump
Posts: 8
Joined: 13. Apr 2015, 17:14

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

Post 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
Post Reply