public function XmlSitemapGeneratorInterface::getOptimalMemoryLimit in XML sitemap 2.x
Same name and namespace in other branches
- 8 src/XmlSitemapGeneratorInterface.php \Drupal\xmlsitemap\XmlSitemapGeneratorInterface::getOptimalMemoryLimit()
Calculate the optimal PHP memory limit for sitemap generation.
This function just makes a guess. It does not take into account the currently loaded modules.
Return value
int Optimal memory limit.
1 method overrides XmlSitemapGeneratorInterface::getOptimalMemoryLimit()
- XmlSitemapGenerator::getOptimalMemoryLimit in src/
XmlSitemapGenerator.php - Calculate the optimal PHP memory limit for sitemap generation.
File
- src/
XmlSitemapGeneratorInterface.php, line 49
Class
- XmlSitemapGeneratorInterface
- Provides an interface defining a XmlSitemapGenerator service.
Namespace
Drupal\xmlsitemapCode
public function getOptimalMemoryLimit();