Mediaplayer is killed while multitasking

Since the Upgrade to Android 11 I discovered a problem with the mediaplayer. It is almost impossible listening to music while browsing the web or using any other app. The Playback will be stopped and you have to start the player (Amazon Music, Spotify or any other music app) over again.

I know this is probably a problem of lack of ram but this wasn't a problem with previous Android Versions on this phone. Does anyone else has this problem or better a solution?