redis: optimistic malloc