[wp-trac] [WordPress Trac] #22699: Imagick: PHP memory_limit not increased to WP_MAX_MEMORY_LIMIT before load

WordPress Trac noreply at wordpress.org
Mon Dec 3 19:12:17 UTC 2012


#22699: Imagick: PHP memory_limit not increased to WP_MAX_MEMORY_LIMIT before load
-----------------------------+--------------------------
 Reporter:  DH-Shredder      |       Type:  defect (bug)
   Status:  new              |   Priority:  normal
Milestone:  Awaiting Review  |  Component:  Media
  Version:  trunk            |   Severity:  normal
 Keywords:  has-patch        |
-----------------------------+--------------------------
 Currently, the PHP memory_limit is not automatically increased to
 `WP_MAX_MEMORY_LIMIT` in Imagick, as it is in GD.

 This was initially done because Imagick uses significantly less RAM.
 From a basic test, an initial upload does clock at a lot less PHP memory
 used for a general iPhone 4 JPG upload (34mb peak used vs. 78mb peak).

 But, some users with with 32mb limits may have issues with Imagick, where
 they wouldn't have previously with GD.

 http://core.trac.wordpress.org/browser/trunk/wp-includes/class-wp-image-
 editor-gd.php#L89
 http://core.trac.wordpress.org/browser/trunk/wp-includes/class-wp-image-
 editor-imagick.php#L119

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22699>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list