Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[impr-OpenMage#61] Fix memory leaks during image upload
The image upload - especially during mass imports - leads to memory leaks due to consumed memory of the image adapter. The fix frees the consumed image resources on destruction by calling the destruct() method on the image adapter. Note: The root cause is in Varien_Image_Adapter_Gd2, a class that keeps every created instance in memory until the PHP script exits. This root- cause remains unfixed with this commit.
- Loading branch information