Recommended Memory?

Permalink
Hi

Is there a recommend memory required for concrete? Mainly related to Search Indexing?

Can't increase memory, is there a way round Fatal error: Allowed memory size of 33554432 bytes exhausted...

I can't increase my memory above 32mb with my host, which should be fine for most things, is there a way to reduce the memory required for the Search Index rather than just increasing the memory available?

Can I restrict it to just use 32mb?

Thanks

BHWW
 
Remo replied on at Permalink Reply
Remo
This question is almost impossible to answer. It mostly depends on your site.

Imagine you've got a site with 100'000'000 pages in one directory. Depending on how you access the pages you might end up having a single array in the PHP code containing all these elements. 32MB won't be enough.

Pagination is one way to avoid that. A concept which in a smiliar way would work as well. In theory it might be possible to split the indexer into several processes. The first one indexes 10 documents and terminates, then there's another (new) process indexing 10 more pages... But since this is using Zend_Search, it's probably a question which is hard to answer by c5 community members without digging into the code (unless someone is very familiar with the zend framework)

Answer: No, unless the code is rewritten there's no way to restrict the use of memory.

You can't restrict Photoshop to use 64k of memory to make sure it runs on your Commodore ;-)
BHWW replied on at Permalink Reply
BHWW
Thanks Remo. Is there a way I can test what memory my site would need to index?

Thanks