Skip to content

[BUG] PHP Memory alloc. error when running with large number of sitemaps #474

@zegLine

Description

@zegLine

PHP version

8.3.17

Package version

latest

Application

Docker

Operating system

RHEL 9

Current behavior

When running with a large number of sitemaps (around 300 sitemaps, each with around 5000 URLs ), a PHP memory error occurs:

Parsing sitemaps...

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in phar:///cache-warmup.phar/vendor/guzzlehttp/guzzle/src/Handler/CurlHandler.php on line 44)

Expected behavior

No response

Steps to reproduce

No response

Additional context

However, even when running a site with a large number of URLs (around 10000), the error doesn't occur - as long as it is only one sitemap

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions