CASSANDRA-7507 - OOM killer cherry-picked