Hi
We have imported about 2.4 million contacts and about 300,000 accounts into SuiteCRM and are currently struggling to perform a full indexing after setting up Elasticsearch.
The indexing always terminates because of too much memory consumption from the PHP process - whatever memory_limit is set, let it be 256M, 512M or even more.
When running the indexing manually via
robo elastic:index
the outcome always is:
root@afbf2ebc14d8:/bitnami/suitecrm# vendor/bin/robo elastic:index
[=][13:40:13] Starting indexing procedures
[@][13:40:13] Indexing is performed using JsonSerializerDocumentifier
[@][13:40:13] Reading lock file cache/ElasticSearchIndexer.lock
[@][13:40:13] Lock file not found
[@][13:40:13] A full indexing will be performed
[@][13:40:13] Removed index 'main'
[@][13:40:13] Loading mapping file /bitnami/suitecrm/lib/Search/ElasticSearch/defaultParams.yml
[@][13:40:14] Created new index 'main'
PHP Fatal error: Allowed memory size of 4294967296 bytes exhausted (tried to allocate 12288 bytes) in /bitnami/suitecrm/data/SugarBean.php on line 481
ERROR: Allowed memory size of 4294967296 bytes exhausted (tried to allocate 12288 bytes)
in /bitnami/suitecrm/data/SugarBean.php:481
When setting the log level to “DEBUG” there are just too many entries to be able to tell which of those are really relevant.
The SuiteCRM version is 7.11.7 running in a Docker Container (https://hub.docker.com/r/bitnami/suitecrm).
We’d be happy if anybody can help us with this issue.
Kind regards.