An exception was thrown by a TaskScheduler

You found a bug or have any issues? Please post them here!
User avatar
radio42
Site Admin
Posts: 8350
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: An exception was thrown by a TaskScheduler

Post by radio42 »

With 500 MB I was only referring to ProppFrexx OnAir!
The MLS is a 64bit application and can get as much memory as it needs depending on your media libs and clients connected.
So the MLS isn't that critical in terms of memory.

The Debug Logging is really only needed to figure any playback/overlay issues, and is not intended for daily work.
As far as I can see, have all issues reported been related to out-of-memory issues. So we need to figure that reason.
Are you probably using any other elements of PF extensively, e.g. the internal Web-Browser, the RSS-Feeds, PDF/Doc-Viewer any Visuals or any other 3rd party DSPs/VSTs - which might cause memory spikes?

What graphics card and how many monitors are you using (as out-of-memory could also be related to a graphics issue, even if very rarely)?
XTended
Re: An exception was thrown by a TaskScheduler

Post by XTended »

Memory use increases to 557 MB...
We're not using internal Web-Browser, the RSS-Feeds, PDF/Doc-Viewer any Visuals or any other 3rd party DSPs/VSTs.
We're using an ATI FirePro 4800 graphics card with 2 monitors. During dj shows everything works well.
After DJ shows when monitors are off we had the troubles.

By the way have a nice holiday Bernd.
XTended
Re: An exception was thrown by a TaskScheduler

Post by XTended »

I mean those crashes happens when auto-deejay is on: no regular (read manual dj shows); so the PC monitors are off.
Just checked memory consumption: now it is 585 MB for PF, so still increasing since last viewed at 10:35h.
Attached a new screen capture; there aren't any more services running 24/h a day.

I saw you asked for some other questions in the same kind of thread with the other radio station:

What are your memory limits for the DJ PLayers? - see attached screencapture
What are your time limits for WaveForms? - waveform limit 1800s
Are you using any histories, what are the history count values? - song history count is 30

Also attached waveform screen capture.

What does backtiming do?
Auto backtiming value is 100.000 and continuous backtiming is "checked".
Attachments
waveform.jpg
waveform.jpg (127.97 KiB) Viewed 6967 times
player_settings.jpg
player_settings.jpg (120.9 KiB) Viewed 6967 times
Taskmanager.jpg
Taskmanager.jpg (128.62 KiB) Viewed 6967 times
User avatar
radio42
Site Admin
Posts: 8350
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: An exception was thrown by a TaskScheduler

Post by radio42 »

That looks all okay so far...
XTended
Re: An exception was thrown by a TaskScheduler

Post by XTended »

Memory is increasing: now 630 MB!

Can backtiming be the trigger?
Our values are: 100.000 and continuous backtiming is "checked".
User avatar
radio42
Site Admin
Posts: 8350
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: An exception was thrown by a TaskScheduler

Post by radio42 »

No back timing value is okay.
But you might disable the continuous back timing.

That memory is increasing isn't really an issue, as .net will free it whenever it thinks.
So unless it stays under 1.5 GB all should be fine...

The only values which might be changed are:
WaveForm Limit might be set to 600 sec.
Cartwall Memory Limit might be set to 0.
User avatar
radio42
Site Admin
Posts: 8350
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: An exception was thrown by a TaskScheduler

Post by radio42 »

You might however click on the small '!' At the very right bottom of the main window. This will bring up an About dialog and force a garbage collection to free any unused memory.
Typically this will free some MB.
XTended
Re: An exception was thrown by a TaskScheduler

Post by XTended »

OK thanks, will do that tonight after the dj's left the building.

One thing; how about disable "Superfetch" in Configurationpanel -> Systemmanagement -> Services?
I read today disable "Superfetch" can free a huge amount of system memory for 32-bit applications.
User avatar
radio42
Site Admin
Posts: 8350
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: An exception was thrown by a TaskScheduler

Post by radio42 »

What do you mean by: when monitors are of you have the trouble.
Immediately, how often, etc. how is the memory increasing then...?
We need to monitor the memory when the out of memory happens...
Is there any other application or service running at that time (at night) which might consume or block all you memory?
Since if PF doesn't use more and more memory it must be another service or process stealing all the memory...

What are your memory limits for the DJ PLayers?
What are your time limits for WaveForms?
Are you using any histories, what are the history count values?
Or have you may be set the Keep WaveForm with Playlist option?
User avatar
radio42
Site Admin
Posts: 8350
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: An exception was thrown by a TaskScheduler

Post by radio42 »

Yes, you can try this, as you are only running PF anyhow - SuperFetch or ReadyBoost wouldn't gain anything anyhow.

Anyhow, try the '!' and watch, if that radically reduces the used memory.
If so, here is a quick tweak, which will do the same every night around midnight automatically.
It is not an official update, so it needs to be unzipped to the installation folder manually:
http://www.proppfrexx.radio42.com/downl ... pFrexx.zip

Let me know how the memory behaves over the next days...

Post Reply