Elasticsearch service does not start on Windows

Hi all,

In the context of an upgrade of Azure DevOps Server from 2020 to 2022, I needed to upgrade the ES service. from 6 to 7.
Update is ok but impossible to start the service.
I tried to uninstall and reinstall the service, same behavior.
In the log of ES, I see this error "java.lang.outofmemoryerror direct buffer memory" but despite a huge amount of post on the subject, I don't see how to fix it.

We are on a Windows Server 2019 with 16GB RAM.

Could you help me? thanks in advance.

Regards

Reinstall the service

elasticsearch-service.bat remove 
elasticsearch-service.bat install

outofmemoryerror direct buffer memory - Do you have enough free memory? You should have 50% free.

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.