Despite the COVID-19 outbreak, our team continues operating at full speed. We are always here to support and answer all your questions.

Feel free to reach out by filling this quick form.

Fill the form
Get Free Trial

Flexmonster data server high RAM usage

Answered
DAVID SERCEAU asked on August 31, 2020

Hi,
Is there a way to optimize the flexmonster-data-server memory usage ?. In my case, it’s using ~ 8 Go of memory at rest. Which means when no clients are requesting the flexmonster URL. Also, is there any recommended specs for a Debian machine ? 

Debian10
SqlDatabase data source
4cpu8gRAM

4 answers

Public
Milena Pechura Milena Pechura Flexmonster September 1, 2020

Hello, David,
 
Thank you for posting to our forum.
 
Our team is currently working on your question.
We will make sure to reach out to you shortly.
 
Best regards,
Milena

Public
Milena Pechura Milena Pechura Flexmonster September 2, 2020

Hi, David!
 
Thank you for your question. 
 
Flexmonster Data Server initially uploads indexes that are specified in the config file. If you have a big amount of data, the first upload of the data will take time and memory. We would like to mention that this behavior depends only on the dataset size. 
 
Also, as the requests are cached on the server side, the cache is taking up the RAM. Therefore, we kindly recommend reducing the number of requests by specifying the CacheSizeLimit property in the Data Server configuration. The default value of this property is 100, so we suggest decreasing it.
 
About Debian machine:
Please note that there is no particular specification for it, as the Data Server works the same on every OS.
 
Please let us know if the suggested solution works for you and if any questions arise.
 
Best regards,
Milena

Public
Milena Pechura Milena Pechura Flexmonster September 10, 2020

Hello, David,
 
We are just checking in to ask if you have found our response helpful.
Did you reduce the amount of memory Flexmonster Data Server is using? 
 
Please let us know if our recommendation helps and if any other questions arise.
 
Kind regards,
Milena

Public
Milena Pechura Milena Pechura Flexmonster September 17, 2020

Hello, David,
 
We were wondering if our response helped you with your question.
Have you tried specifying the CacheSizeLimit property in the flexmonster-config.json? Did it optimize memory usage?
 
Please let us know if our suggestion works for you and if any questions arise.
 
Best regards,
Milena

Please login or Register to Submit Answer