Page 1 of 1
Error and close browser for memory consumption.
Posted: Mon May 13, 2019 6:35 am
by JPG
Hello,
We have automatic refresh with the code that is attached and after a few hours of activity this program closes the browser.
In our case it is CHROME.
Is it possible to solve it?
ONLOAD EVENT (Image1)
ONSUBMIT EVENT (Image2)
Re: Error and close browser for memory consumption.
Posted: Tue May 14, 2019 12:23 am
by Scott Klement
If indeed this is due to memory consumption, you can use a "refresh interval" to reset the memory usage for the page. This is done by clearing all code out from the browser's memory and then re-loading it from the server.
You configure this to run based on the number of screen reloads. For example, if you want to reset the page every time you load 500 screens, you would write this in your 'settings.js' (or another global javascript file)
More information can be found here:
https://core.profoundlogic.com/docs/dis ... h+Interval
Re: Error and close browser for memory consumption.
Posted: Tue May 14, 2019 7:39 am
by JPG
Thank you, Scott.
We have put it and it seems to work.