Memory size fix