That's what's running you OOM. Mine started doing it after upgrading from 6.8.3 to 6.10.3, haven't figured out why yet, likely doesn't like a media file for some reason when it generates thumbs and runs away. Doesn't do it if you change all of these to never
You can change it to whatever you want when you add media, just make sure to disable them again before the scheduled task.
I set a memory limit based on @Squid's suggestion above, going to test tonight to see if it runs away again.