I’m doing the technical stuff for a small wordpress website. (As a favor). I’m fairly technical, but I only started to dig into web and wordpress stuff a few weeks ago.
We use this sitemap generator plugin.
But I noticed a weird thing.
When generating the sitemap, the plugin reports that it uses between 40 and 46.5MB of memory.
I think that is an aweful lot !
What does this number mean exactly ?
Is it all memory in use by the apache/wordpress process that manages the website ? Including all plugins and other software used ?
Or is it just the memory used by only the XML-sitemap generator plugin.
The text suggest the last.
But I can’t believe such a simple plugin needs 45MB of ram !
The whole SQL database of the website is only a few MBs large. Something like 4 or 8 MB total. How can any plugin use 5 times more memory than the dataset it uses ?
This is causing a real problem.
Our ISP has limited the process on the webserver to 48MB of ram.
Our sitemap includes posts, the frontpage, and categories.
There are about 300 entries total in the sitemap.
But when we include tags, the memory usage will jump over 48MB.
There are quite a few tags, but only 2400. No big number when you talk about computers. Even if the plugin uses 1k memory for each entry, while building the sitemap, (2400 + 300) * 1k = still only 2.7MB.
Because the plugin reports sometimes that it needs 46.5MB of ram during the build, I am afraid that even without including tags, we will soon go over 48MB. And then we can’t build a full sitemap anymore. So I rather resolve the problem now.
So is this big memory usage a bug ? Or unoptimized programming ? Or is there no way around it ? Do other people have the same problem ? Or is my ISPs limit of 48MB unusually small ?
Website is here: http://www.aziatische-ingredienten.nl/
Sitemap is here: http://www.aziatische-ingredienten.nl/sitemap.xml
We are using WP 3.0.2, but the problem was there with 3.0.1 too.
Plugin version: 3.2.4
Thanks in advance,
- The topic ‘[Plugin: Google XML Sitemaps] XML Site-map generator using a boatload of memory’ is closed to new replies.