Quantcast
Channel: Issues for XML sitemap
Viewing all articles
Browse latest Browse all 1238

Acquia Cloud Next Readiness Assessment - setMemory_limit

$
0
0

Problem/Motivation

Acquia ran a readiness assessment on a site using XML sitemap, and it had a failure in the setMemoryLimit function.

The exact failure is "PHP memory overrides in code should not exceed 1G."
Their assessment fails XML sitemap because hardcoded memory limits were detected.

Code - return @ini_set('memory_limit', $new_limit);
Line Number - 256
File Location - /mnt/www/html/startheregetthere/docroot/../docroot/modules/contrib/xmlsitemap/src/XmlSitemapGenerator.php

Steps to reproduce

Proposed resolution

I need advice on how to proceed with the changes that should be made to avoid hardcoded memory limits in XML sitemap

Remaining tasks

User interface changes

API changes

Data model changes


Viewing all articles
Browse latest Browse all 1238

Trending Articles