Re: Java 7 application halting OSX when left unatteended

2014-01-31 Thread Paul Taylor

On 31/01/2014 11:04, Paul Taylor wrote:

On 31/01/2014 10:58, Hendrik Schreiber wrote:

This smells like App Nap.
See http://krypted.com/mac-os-x/disable-app-nap-in-mavericks/

-hendrik

I'm just testing it with AppNap will report back later, if this doesnt 
fix it I'll dig out by 10.8 machine and see if the problem occurs 
there as well


Paul

Thanks it does indeed to seem to be AppNap. Well it might be a 
combination of  a couple of things Ive realized in my OSX Preferences I 
have Energy Saver/Display Sleep and Computer Sleep set to 15 minutes, so 
I guess that after 15 minutes the Display Sleep will make the screen go 
black even if progress bar updating because no user has touched 
keyboard/mouse but computer sleep doesnt kick in because its detect the 
application is active. But then once Display Sleep is blank that tells 
AppNap it can pause any application and it does.


Clicking on the Properties of the Application and preventing AppNap 
seems to ensure process continues processing even after screen gone black


Is my summary correct ?

Paul


Re: Java 7 application halting OSX when left unatteended

2014-01-31 Thread Hendrik Schreiber
This smells like App Nap.
See http://krypted.com/mac-os-x/disable-app-nap-in-mavericks/

-hendrik

On Jan 31, 2014, at 11:54, Petr Pchelko  wrote:

> Hello, Paul.
> 
> Is this issue specific to Mavericks or it is also reproducible on 10.8?
> Could you please provide some test case to reproduce? Or any Swing based 
> application with some background task would work?
> 
> Thank you.
> With best regards. Petr.
> 
> 31 янв. 2014 г., в 2:47 после полудня, Paul Taylor  
> написал(а):
> 
>> My (java 7 based) Gui application processes digital music files, and is 
>> designed so it can be left unattended. I have noticed that if I leave it 
>> running overnight on my OSX Mavericks computer that it stops shortly after I 
>> leave it, only continuing when I touch the keyboard in the morning.
>> 
>> How can I prevent this, I do not have the same problem running the 
>> application on a Windows 8 machine.
>> 
>> paul
> 



Re: Java 7 application halting OSX when left unatteended

2014-01-31 Thread Paul Taylor

On 31/01/2014 10:58, Hendrik Schreiber wrote:

This smells like App Nap.
See http://krypted.com/mac-os-x/disable-app-nap-in-mavericks/

-hendrik

I'm just testing it with AppNap will report back later, if this doesnt 
fix it I'll dig out by 10.8 machine and see if the problem occurs there 
as well


Paul


Re: Java 7 application halting OSX when left unatteended

2014-01-31 Thread Petr Pchelko
Hello, Paul.

Is this issue specific to Mavericks or it is also reproducible on 10.8?
Could you please provide some test case to reproduce? Or any Swing based 
application with some background task would work?

Thank you.
With best regards. Petr.

31 янв. 2014 г., в 2:47 после полудня, Paul Taylor  
написал(а):

> My (java 7 based) Gui application processes digital music files, and is 
> designed so it can be left unattended. I have noticed that if I leave it 
> running overnight on my OSX Mavericks computer that it stops shortly after I 
> leave it, only continuing when I touch the keyboard in the morning.
> 
> How can I prevent this, I do not have the same problem running the 
> application on a Windows 8 machine.
> 
> paul



Java 7 application halting OSX when left unatteended

2014-01-31 Thread Paul Taylor
My (java 7 based) Gui application processes digital music files, and is 
designed so it can be left unattended. I have noticed that if I leave it 
running overnight on my OSX Mavericks computer that it stops shortly 
after I leave it, only continuing when I touch the keyboard in the morning.


How can I prevent this, I do not have the same problem running the 
application on a Windows 8 machine.


paul