I originally used multiple songs in my game and looped through some functions I made, but the memory usage spikes up after every song. I tried looping just one song using the “looping in the background” option thinking it’ll be better but it’s still spiking the memory usage… Is this something fixable or is makecode just like this?
There is a glitch right now where the browser sound events keep stacking up. I’m not aware of any issue with the built in music player that would cause this memory issue, but it’s written in c++ so there could also be a memory leak there.
Does clicking the restart button on the sim make the memory usage go down again or do you have to close and open the sim view or reload the tab to get it to go down again?
Unfortunately… music will simply increase the ram usage the more it plays, I think it’s a memory leak. If any sound or music plays for a long enough time, it’ll actually crash the editor and you’ll have to close out and open a new tab. I really hope @richard can fix it one day.
Yeah after reloading it goes back down, but its a huge problem for me cuz I’m making an infinite runner. Good to know this isn’t something I can fix thanks!
Same, would improve my game a lot ![]()