I'm having the same problem. It is difficult to replicate this since it sometimes feels like it's happening out of nowhere.
Since @OcRam didn't reply to this for a while I've tried to get to the source of the problem and it seems it is caused by excessive recursive function calls or an infinite loop.
So I guess each time you get close a sound source a new instance is opened or modified (it get's louder or quieter) and this isn't cleared. so at some point the maximum size is reached and the error you have linked pops up.
I wish I knew how to fix this, but I'm not familiar with plugin editing and don't know how to do it.
I've been using the erase_bgs * on many of my map transitions now in hope of trying to fix this.
But it still happens.
So I hope OcRam takes another look at this problem and maybe he can find a way to fix it.
