Bonita Tomcat slow after some inactivity

Hi all,

I’m using Bonita 5.9.1 with Tomcat 6.0.35.
After some time of inactivity when we make a REST call to Bonita it takes much longer to respond.
But I see that with continued use the REST calls are treated faster.

Is there any way to config Tomcat, Bonita or JVM to reduce this behavior?

I already tried enabling jqs and changing -Xms and -Xmx values. Stability has improved but didn’t got faster when coming from inactivity.