[wp-trac] [WordPress Trac] #3178: MT Importer Breaks if File Size
takes too much memory
WordPress Trac
wp-trac at lists.automattic.com
Fri Sep 29 16:47:42 GMT 2006
#3178: MT Importer Breaks if File Size takes too much memory
----------------------------+-----------------------------------------------
Reporter: technosailor | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.0.5
Component: Administration | Version: 2.0.4
Severity: normal | Keywords: import MT
----------------------------+-----------------------------------------------
I imagine my patch is ill-advisable so open to other recommendations. This
worked on a client platform where the memory_limit was set in php.ini to
be 12M, far smaller than was needed to do an MT import. This patch
temporarily adjusts the memory_limit to 50M which I'd think would be big
enough for just about anyone.
A better solution might be to check file size against memory allocation
required and provide a more user-friendly error or prompt to split the MT
file into two.
--
Ticket URL: <http://trac.wordpress.org/ticket/3178>
WordPress Trac <http://wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list