I have recently tried to add Nextant to an existing Nextcloud installation. When I try to index for the first time I get:
Extracting files:
But nothing displays following that line. Then progressively the memory allocated by the “php /var/www/nextcloud/occ nextant:index” thread grows until it consumes all system memory and Swap, and throws a mmap() failed: [12] Cannot allocate memory error; followed by PHP Fatal error: Out of memory (allocated 30706511872) (tried to allocate …) in /var/www/nextcloud/lib/private/Files/Node/Folder.php on line 121.
I have tried to find where a setting for maximum memory would be, and have adjusted the solrconfig.xml properly, but it doesn’t appear to be a Solr problem and seems to be an occ php issue instead?
–debug does not provide any further details
Is this a rational problem and where should I go next?