Failed to refresh job memory requirements – How to solve this Elasticsearch error

Opster Team

Aug-23, Version: 6.8-8.9

Before you dig into reading this guide, have you tried asking OpsGPT what this log means? You’ll receive a customized analysis of your log.

Try OpsGPT now for step-by-step guidance and tailored insights into your Elasticsearch operation.

Briefly, this error occurs when Elasticsearch fails to update the memory requirements for a specific job, possibly due to insufficient resources or a configuration issue. To resolve this, you can try increasing the memory allocation for Elasticsearch, ensuring that the job configuration is correct, or checking for any underlying system issues that may be causing the failure. Additionally, you can also try restarting the Elasticsearch service to see if the issue persists.

For a complete solution to your to your search operation, try for free AutoOps for Elasticsearch & OpenSearch . With AutoOps and Opster’s proactive support, you don’t have to worry about your search operation – we take charge of it. Get improved performance & stability with less hardware.

This guide will help you check for common problems that cause the log ” Failed to refresh job memory requirements ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: plugin, memory, refresh.

Log Context

Log “Failed to refresh job memory requirements” classname is
We extracted the following from Elasticsearch source code for those seeking an in-depth context :

        if (isMaster) {
            try {
                ActionListener listener = ActionListener.wrap(
                    aVoid -> logger.trace("Job memory requirement refresh request completed successfully");
                    e -> logIfNecessary(() -> logger.warn("Failed to refresh job memory requirements"; e))
                    .execute(() -> refresh(clusterService.state().getMetadata().custom(PersistentTasksCustomMetadata.TYPE); listener));
                return true;
            } catch (EsRejectedExecutionException e) {


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?