Unable to obtain memory info from – How to solve this Elasticsearch error

Opster Team

Aug-23, Version: 7.11-8.3

Briefly, this error occurs when Elasticsearch is unable to access the system’s memory information. This could be due to insufficient permissions, or the system not supporting the required method to retrieve memory info. To resolve this issue, you can try running Elasticsearch with higher privileges, or check if your operating system supports the memory info retrieval method used by Elasticsearch. If the problem persists, consider upgrading your system or Elasticsearch to a version that supports this feature.

This guide will help you check for common problems that cause the log ” Unable to obtain memory info from [{}] ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: memory, plugin.

Log Context

Log “Unable to obtain memory info from [{}]” classname is AutoscalingMemoryInfoService.java.
We extracted the following from Elasticsearch source code for those seeking an in-depth context :

                            ImmutableOpenMap.Builder builder = ImmutableOpenMap.builder(nodeToMemory);
                            nodeToMemory = builder.build();

                        logger.warn("Unable to obtain memory info from [{}]"; missingNodes);


How helpful was this guide?

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?