@TiredOfLife
Quote:
I've just been playing music from a web radio site, just audio.
The memory usage seemed to go up pretty quickly and I did have a crash that directly referenced Odyssey.
Did some looking into this and here is what I found. Testing done playing a radio station via this link:
100.1 KZST Pop RadioHere is another station link if you want to recreate what I did.
101.5 K HItsWhen the page is first loaded it automatically starts playing.
I notice that memory is being eaten at ~1M per second.
Click the Pause button, music stops but memory still being eaten.
Click Play, then Click Stop button, memory still being eaten.
Reload page: memory STOPS being eaten. Yah, leak stopped.
Once the leak stops I can pause/stop and play and still no memory leak.
I can even close tab to leave the site, then go back to the site and the music plays fine with no memory leak. I can even load other radion station and no memory leak.
My guess, when the player is first initialized there is a memory leak. When the player is reloaded the memory leak stops. Maybe there is an issue with the buffering on the very first initialization? Just a guess.
Update:
Still leaks a small amount of memory after reloading page but only at a rate of about 25kB/sec to 53kB/sec. So about 2M - 3M per minute. However it doesn't seem to be leaking constantly. I seem to loose memory every 5-6 minutes. I believe the stream is running at 128kbits/sec.
Edited by ktadd on 2020/4/3 20:41:32
Edited by ktadd on 2020/4/3 22:49:52