Used memory vs audio handles

You have a question or need an advice about how to do something? Ask it here!
Post Reply
XTended
Used memory vs audio handles

Post by XTended »

Just a question; is it normal that when memory increase the audio-handles increase too?
Maybe strange question: what are those many audio-handles doing?
Attachments
audio-handles_growing.jpg
audio-handles_growing.jpg (100.84 KiB) Viewed 4928 times
XTended
Re: Used memory vs audio handles

Post by XTended »

Number of standard carts used in our daily Muziekmix (auto-deejay) is 30 (random choice).
The view of cartwall I and II is empty now. Only when doing a dj show the person can pick his own carts: zie picture with cartwall 1 and 2

I also did a little test: 1st picture you see some open playlists. 2nd picture I closed them; only at that moment memory and audiohandles decrease.

So there will be a moment every week; the memory and audiohandles are too high, which ends the application.
Attachments
audio-handles_1330.jpg
audio-handles_1330.jpg (147.37 KiB) Viewed 4921 times
audio-handles_1332_afterclosingplaylists.jpg
audio-handles_1332_afterclosingplaylists.jpg (127.22 KiB) Viewed 4921 times
audio-handles_nocarts.jpg
audio-handles_nocarts.jpg (113.28 KiB) Viewed 4921 times
User avatar
radio42
Site Admin
Posts: 8350
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Used memory vs audio handles

Post by radio42 »

How many playlists do you have open in parallel?
But yes, each player (per playlist) will consume a few handles and these will only be released once the playlist is closed.
However over 600 handles are really to high. There must be some leak somewhere. I am just not sure where as I can currently not reproduce that here.
So when you restart PF the next time we should monitor when they increase...
User avatar
radio42
Site Admin
Posts: 8350
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Used memory vs audio handles

Post by radio42 »

There are several audio handles created per mixer channel and player.
Eg if you use a lot of carts in a cartwall I or II that would explain the big number.
But if you just use a few carts (eg 10) that number is too high.
Is the number of handles constantly increasing over timeand if it's growing do you know when? After playing playlist items? Overlays?...
User avatar
radio42
Site Admin
Posts: 8350
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Used memory vs audio handles

Post by radio42 »

Fixed in v3.0.14.15!
XTended
Re: Used memory vs audio handles

Post by XTended »

Bernd, again thanks for the latest update!
After a week still 15 audio-handles and 353 MB used memory.
User avatar
radio42
Site Admin
Posts: 8350
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Used memory vs audio handles

Post by radio42 »

Great! So I hope we can consider this closed ;-)

Post Reply