Jaffa The Cake
Safari 4 memory usage
Here I run the first test on this page www.jakearchibald.co.uk/jsperformance/closurememory/1.html
It's expected that the browser uses more memory, but it should release it back to the OS once the page is refreshed.
Chrome (on the left) behaves correctly. Safari does not.
Safari 4 will reuse the memory it has, but it doesn't give any back to the operating system, even if it has 700mb of memory reserved.
Safari still holds onto the memory if the tab that reserved the memory is closed.
Safari 4 memory usage
Here I run the first test on this page www.jakearchibald.co.uk/jsperformance/closurememory/1.html
It's expected that the browser uses more memory, but it should release it back to the OS once the page is refreshed.
Chrome (on the left) behaves correctly. Safari does not.
Safari 4 will reuse the memory it has, but it doesn't give any back to the operating system, even if it has 700mb of memory reserved.
Safari still holds onto the memory if the tab that reserved the memory is closed.