Elastic Search Halting due Memory Heap

Elastic Search Halting due Memory Heap

The elastic search log shows as stopped due not enough memory heap. (fatal error in thread.... java.lang.outofmemoryerror: Java Heap Space).

There are some bat files in Soti folder that is supposed to set the memory heap (elasticsearch.bat, Elasticsearch-service.bat...)

I am not sure which one to invoke and with parameter to request it to set the memory properly.

 

  • 17 February 2021
  • SOTI MobiControl
  • 4 Answers
  • 0 Upvote
  • 2 Followers
  • 131 Views
    • 4 Answers
    • 0 Upvote
    • 2 Followers

4 Answers

Order By:   Standard | Newest | Votes
Katha K | posted this 17 February 2021

 

If you are using MobiControl 14.3 or higher, then you can use the search service tool to increase the allocated memory for search.  Note that this is an advanced configuration, so I recommend working with SOTI Support when making these changes.

1. Start command prompt using Administrative rights

2. Change directory to %ProgramFiles%\SOTI\MobiControl\Search\bin

3. Run the following command elasticsearch-service.bat manager

4. Set the Maximum Memory Pool value to desired size (MB)

5. Restart the  search service in MobiControl Admin utility

 

  • 1
  • 0
RRMOD@SOTI | posted this 17 February 2021

Hi Joao Nelson ,

 

Thank you for posting on SOTI Central.

 

If you are using MobiControl v.14.3.0 and higher then please follow the process below to launch Elasticsearch service manager to increase the Java Heap Size. However ,it is highly recommended to create a support case (click here) and work with SOTI engineer who can examine your environment according to number of devices , profiles and custom data to provide you with the exact number for memory.

 

1. Start command prompt using Administrative rights

2. Change directory to %ProgramFiles%\SOTI\MobiControl\Search\bin

3. Run the following command elasticsearch-service.bat manager

4.Set the Initial Memory Pool and Maximum memory pool under the Java Tab as per the desired value.

5. For Elasticsearch v.6.4:Both initial memory pool and maximum memory pool MUST have identical values.

6. Restart the  search service in MobiControl Admin utility.

 

For an example :

Es service manager.png



Kind Regards, Technical Support | SOTI Inc. |1.905.624.9828 | support@soti.net | www.soti.net |

  • 1
  • 0
Joao Nelson Cavezale de la Torre | posted this 17 February 2021

Thanks.

It has worked and the heap error stopped.

 

  • 1
  • 0
RRMOD@SOTI | posted this 17 February 2021

Hi Jao Nelson ,

 

Thank you for your response.

 

We are glad that your issue is resolved. If this post has helped you in solving your inquiry, I would request you to mark the particular comment as "is solution", so others may benefit from this information.

 

Kind Regards, Technical Support | SOTI Inc. |1.905.624.9828 | support@soti.net | www.soti.net |

  • 0
  • 0

Give us your feedback
Give us your feedback
Feedback