Relationship between performance and memory management