Running ORS on-premise - timeout after few directions calls

Hello, we are running ORS on-premises and after few API directions calls it goes into timeout.
We are running on azure VM with 12GB of RAM.
We are using the Italy map that size is 1.6 GB.
The java options are:

export JAVA_OPTS="-Djava.awt.headless=true -server -XX:TargetSurvivorRatio=75 -XX:SurvivorRatio=64 -XX:MaxTenuringThreshold=3 -XX:+UseG1GC -XX:+ScavengeBeforeFullGC -XX:ParallelGCThreads=4 -Xms3g -Xmx12g"

The calls are made from a python procedure, like the following statements:

import openrouteservice
from openrouteservice import convert, directions 
hostors='https://xxx/ors'
client=openrouteservice.client.Client(key=None, base_url=hostors)
direction=client.directions(((12.53059, 41.92168), (12.533250, 41.955760),(12.43265, 41.97213),
                             (12.445582, 41.798952)), profile='driving-car', preference="shortest", units="m", language="it")

I run the procedure and the first time run ok, called API directions 151 times correctly.
The next procedure execution I’ve got timeout message, no other calls are possible to run to the service.
Any suggestions will be very appreciated,
Thanks in advance,
Vivian.

Hey,

without having a look at your log files, this’ll be hard to debug. This is the first time I hear of something like this. Is this reproducable over restarts?
Could this be an issue with the Azure VM?

Best regards