Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[Data Liberation] Set WP_XML_Processor memory limit cap

Open
#215 0 comments 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

@zaerl is already working on this.

Since Jan 8, 2025.

Assessment

This issue has not been assessed yet.

Description

The default XML process memory budget is one GB: https://github.com/WordPress/wordpress-playground/blob/trunk/packages/playground/data-liberation/src/xml-api/WP_XML_Processor.php#L596

I think it's pretty generous as an amount and does not take into consideration memory_limit. We can make it customizable for the final user as an "advanced feature" and have a cap on current machine resources to avoid PHP "allowed memory size..." fatal error.

Dominant language
PHP
Stars
61
Forks
23
Avg merge
20h 9m
Merged PRs (30d)
7

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

  • Ships a Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from WordPress/php-toolkit

All issues in WordPress/php-toolkit

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.