are you sure it's only several minutes and how are you coming close to the memory max on your server? there are timeout values, and as long as you're not maxing out on memory, the default idle is 30 minutes. One option is to increase the timeout limit. Another option is if you're using a proxy, then you could redirect based on the URI pattern.
(Number of minutes of idle time after which a VizQL session is eligible to be discarded if the VizQL process starts to run out of memory).
vizqlserver.session.expiry.timeout 30 (Number of minutes of idle time after which a VizQL session is discarded.)
Ya it was not just several minutes - I think it's more than 30 minutes of idling time for my case. I'm using the A10 load balancer for my web application, what do I need to do to set up the redirect URL after timeout?
I'm not familiar with the required rule config syntax within the load balancer side. I have an nginx load balancer and I had my network guy do a bunch of config here for me. Basically, you look for a specific URL or URI and then do an http redirect.
You need to setup the timeout in both tableau as well as in your A10 load balancer. For Tableau you can set this parameter to increase the timeout to your desired minutes (default is 240 min)
tabadmin set wgserver.session.idle_limit <minutes>
You can set the same timeout in A10 through your Web GUI.