contao / news-bundle

[READ-ONLY] Contao News Bundle
GNU Lesser General Public License v3.0
9 stars 14 forks source link

reduce memory consumption during sitemap generation #37

Closed fritzmg closed 6 years ago

fritzmg commented 6 years ago

See contao/core-bundle#1157

The issue is the following:

Comparison: when using 10.000 news entries the peak memory usage would be around 1.4 GiB when loading them all. After these changes the peak memory usage is only around 60 MiB.

leofeyer commented 6 years ago

Thank you @fritzmg.