I am on a Vaadin Web-application, using a Wildfly server. So far, it works very well but there is one problem: The application fills the ram of the server at about 4 AM every morning.
Parameters of my web.xml:
<context-param> <!-- or initialize-param -->
<param-name>closeIdleSessions</param-name>
<param-value>true</param-value>
</context-param>
<session-config>
<session-timeout>180</session-timeout>
</session-config>
<context-param>
<param-name>heartbeatInterval</param-name>
<param-value>120</param-value>
</context-param>
I am playing around with the hearthbeat and timeout but results are nearly the same.
Seems like the vaadin app goes in a sort of "sleep" mode after a few hours of inactivity and eats all the RAM. Can anyone guide me with this?