27
Hi bjuti, here are some reports I have:
This is the report for the publisher index page memory usage:
Memoria usada: 9743088 bytes (publisher empty)
Memoria usada: 11897200 bytes (publisher 100 cats);
Memoria usada: 16787912 bytes (publisher 205 cats, 203 items);
Memoria usada: 18895848 bytes (publisher 205 cats, 6203 items);
Memoria usada: 18892768 bytes (publisher 205 cats, 11203 items);
Memoria usada: 18891768 bytes (publisher 205 cats, 19203 items);
As expected, adding categories (permissions) will affect memory usage. Since we are not using permissions for items, the memory usage is not affected byt the number of items in the system.
Now a page by page report, 'homepage blocks' means all publisher blocks in front page, the second reading is for memory peak usage
(publisher 205 cats, 19203 items):
indexpage Memoria usada: 18878384 bytes - 20479560 bytes
categorypage Memoria usada: 19696600 bytes - 21262592 bytes
itempage Memoria usada: 14144944 bytes - 15769624 bytes
homepage blocks Memoria usada: 18003952 bytes - 21012656 bytes
userinfo Memoria usada: 13132304 bytes - 13774056 bytes
Archive Memoria usada: 8618544 bytes - 17425056 bytes
Archiveyear Blankpage
Search lorem Memoria usada: 13132472 bytes - 13774728 bytes
(publisher 205 cats, 50203 items, space of total items in db = 146.5 MiB;
indexpage Memoria usada: 18875512 bytes - 20481440 bytes
categorypage Memoria usada: 20029424 bytes - 21982304 bytes
itempage Memoria usada: 14142216 bytes - 16141784 bytes
homepage blocks Memoria usada: 18009448 bytes - 21020552 bytes
As you see, memory usage is quite low, around 20Mb and is not affected by number of items. (expect on archive, see above)
However there are some slow queries that need to be fixes, also, the archive is exhausting memory.
Could you share some of your memory usage info?
Did you update module after uploading new files?
How many categories do you have?
How many groups have permissions to read categories?
We could speed publisher by adding option to ignore read/access permissions on categories. This would be useful for sites that have all the categories readable for all groups.