FATAL: out of memory for plain indexes

Hi there,
facing the below issue when rotating the PLAIN indexes.
manticore version - 4.2

searchd: FATAL: out of memory (unable to allocate 525120 bytes)

hi there
need help regarding this .

@Sergey @tomat @barryhunter

Hi

It may be that you just don’t have free memory on the server.

Hi,
Do we have limitations on number of indexes to be generated in manticore?
We are able to see from logs that post rotating certain number of indexes it starts throwing errors like below in searchd.log
WARNING: index <>: rotating index <>: .new prealloc failed: failed to mmap file ‘/var/lib/manticore/data/<>.spa’: Cannot allocate memory (length=2656200); NOT SERVING
[Fri Aug 25 17:29:48.834 2023] [16229] WARNING: index <>: prealloc: failed to mmap file ‘/var/lib/manticore/data/<>.spi’: Cannot allocate memory (length=3324468) - NOT SERVING
[Fri Aug 25 17:29:48.836 2023] [16229] WARNING: index <>: rotating index <>: .new prealloc failed: failed to mmap file ‘/var/lib/manticore/data/<>.spa’: Cannot allocate memory (length=1383200); NOT SERVING

there is no limitation on amount of indexes however if your box has no memory to serve your indexes daemon will skip the indexes after errors started to pop up