Enviar por SMS: Optimizing memory transactions for large-scale programs