Was only clearing one third of mem on init