We have had a few reports of the "Allowed memory size of XXXXXXX bytes exhausted" error message recently.
The solution to Allowed memory size issue is in the FAQ. But we though it would be interesting to see just how much RAM a large set of index files would use.
The index used was 170MB in size. With around 27,000 pages in the index.
As can been seen in the (rather small) screen shot,
PHP 5.2.13 used 139MB of RAM
PHP 5.2.17 used 247MB of RAM
PHP 5.3.28 used 258MB of RAM
So it seems that more recent versions of PHP are using a lot more RAM than the order versions. Which probably explains the recent issues we have seen reported.
With smaller sets of index files the RAM usage will obviously be much less.
In reality this isn't a lot of RAM, as typical servers have 16GB+ of RAM available, but some people might still run into trouble on cheaper shared hosting plans and large sets of index files.
The solution to Allowed memory size issue is in the FAQ. But we though it would be interesting to see just how much RAM a large set of index files would use.
The index used was 170MB in size. With around 27,000 pages in the index.
As can been seen in the (rather small) screen shot,
PHP 5.2.13 used 139MB of RAM
PHP 5.2.17 used 247MB of RAM
PHP 5.3.28 used 258MB of RAM
So it seems that more recent versions of PHP are using a lot more RAM than the order versions. Which probably explains the recent issues we have seen reported.
With smaller sets of index files the RAM usage will obviously be much less.
In reality this isn't a lot of RAM, as typical servers have 16GB+ of RAM available, but some people might still run into trouble on cheaper shared hosting plans and large sets of index files.