I think I found the memory issue