Why is my memory not controlled?