I'm having problems with OpenSearch in Magento 2.4.6.
After 1 or 2 weeks, OpenSerach crashes and causes the store's products to disappear. I'm not able to resolve this. I thought it could be the machine's memory but I hired an AWS Linux 2023 t3a.large with 8Gb of RAM and it still crashes.
I set the Xms and Xms of jvm.options to up to 4GB in the opensearch folder and enabled 'bootstrap.memory_lock: true' in the opensearch.yml file, but it didn't help either.
When it goes down and checks the status I get this message: