Make WordPress Core

Opened 16 years ago

Closed 16 years ago

#10698 closed defect (bug) (fixed)

Reduce memory usage for XML-RPC requests

Reported by: josephscott's profile josephscott Owned by: josephscott's profile josephscott
Milestone: 2.9 Priority: normal
Severity: normal Version:
Component: XML-RPC Keywords: has-patch
Focuses: Cc:

Description

Demitrious Kelly did some excellent work in reducing the memory usage for processing large XML-RPC requests on WordPress.com. I'm including a patch of his work on wp-includes/class-IXR.php that does the following:

  • Pass references instead of copies of the full XML-RPC request
  • Limit the XML declaration stripping to the first 100 characters of the data
  • Parse the XML in chunks so that the whole thing doesn't get slurped into memory

Attachments (1)

wp-includes--class-IXR.php.diff (2.8 KB) - added by josephscott 16 years ago.

Download all attachments as: .zip

Change History (2)

#1 @ryan
16 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [12263]) Reduce memory usage for XML-RPC requests. Props Demitrious Kelly. fixes #10698

Note: See TracTickets for help on using tickets.