[wp-trac] [WordPress Trac] #10765: Bigger HTTP downloads with curl class run out of memory
WordPress Trac
wp-trac at lists.automattic.com
Fri Sep 11 06:22:02 UTC 2009
#10765: Bigger HTTP downloads with curl class run out of memory
--------------------------+-------------------------------------------------
Reporter: hakre | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.9
Component: General | Version: 2.8.4
Severity: normal | Keywords: has-patch developer-feedback
--------------------------+-------------------------------------------------
Comment(by hakre):
well that "temporary" variable in that case is even not needed. so instead
of setting it and in the next command unset it I just did not set it in my
patch.
it would make sense to use temporary files in suche cases instead of using
the memory.
normally I would prefer streams for that but that does not work with
wordpress php system requirements and therefore this can be only an
additional feature for those who are 5.2+ or a full implementation of a
tempfile based download & zip extraction module could be helpfull. isn't
there any way with curl to handle that better, so getting the data in
chunks rather then at once?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10765#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list