Memory usage has continued to rise and never went down

After I hosted the API service, I found the memory utilization is increasing all the time when I send API request, but it never decrease when I stop API request.

So, I must stop and restart the docker container in order to decrease the memory utilization.

I add “docker run -d” parameter when start docker service in the last line of “run.sh”, is there some wrong?

Is there anyone meet the same problem?

or is there someone are directly using LibreTranslate from github and works well? If there is, maybe re-installing can solve my problem.

1 Like

Hello,
I have been using apache as proxy and memory issues start appearing quite often when translating documents and text simultaneously. Restarting apache works. Nevertheless, whoever wants to provide a document translation service should use a separate microservice/container for that and frontal load balancing.

1 Like

Document translation seems to fail sometimes. Maybe those requests are getting killed by OOM (out of memory) errors.

Same issue here.