public function XmlSitemapGeneratorInterface::setMemoryLimit in XML sitemap 8
Same name and namespace in other branches
- 2.x src/XmlSitemapGeneratorInterface.php \Drupal\xmlsitemap\XmlSitemapGeneratorInterface::setMemoryLimit()
 
Calculate the optimal memory level for sitemap generation.
Parameters
int $new_limit: An optional PHP memory limit in bytes. If not provided, the value of getOptimalMemoryLimit() will be used.
1 method overrides XmlSitemapGeneratorInterface::setMemoryLimit()
- XmlSitemapGenerator::setMemoryLimit in src/
XmlSitemapGenerator.php  - Calculate the optimal memory level for sitemap generation.
 
File
- src/
XmlSitemapGeneratorInterface.php, line 58  
Class
- XmlSitemapGeneratorInterface
 - Provides an interface defining a XmlSitemapGenerator service.
 
Namespace
Drupal\xmlsitemapCode
public function setMemoryLimit($new_limit = NULL);