I'd like to listen to music with Doggcatcher and record the routes with Endomondo while bicycling. The problem is, when I start Endomondo, after a couple of minutes Android kills Doggcatcher. When I start Doggcatcher, after a couple of minutes Android kills Endomondo. What can I do? I'd rather kill any other application or service than these two, but I've already tried uninstalling almost every other app except the system apps. I have stock Android ICS and Huawei Honor.
I'm answering my own question from what I've gathered. There seems to be no way to prioritize, say, Doggcatcher, if it's playing music in the background. When the operating system runs out of memory, it starts summarily killing background processes. The best I can do is kill dispensable background processes before starting these two apps.
First I turn off sync. Then I go to Manage apps and open the Running tab, note which apps are running, open the Downloaded tab, and from there Force stop the apps. Note that if you simply stop the services from the Running tab, the apps will usually restart them. After that I clear the app cache from the All tab. I'm not sure how necessary this step is, as the problem occurs rather nondeterministically. After that I start Doggcatcher and Endomondo.
Especially Facebook app just keeps starting all kinds of services that consume a lot of memory, no matter how it's configured, so I uninstalled the app and started using the mobile site with web browser. The mobile site is also more robust, I think it has more features, and I got rid of the annoying notifications.