Error and close browser for memory consumption.

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
JPG
Profound User
Posts: 54
Joined: Fri Dec 19, 2014 12:24 pm
First Name: Juan
Last Name: Perez Garcia
Company Name: NISA
State / Province: Outside Canada/USA
Country: Spain
Contact:

Error and close browser for memory consumption.

Post 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)
Attachments
Image2.JPG
Image2.JPG (17.17 KiB) Viewed 499 times
Image1.JPG
Image1.JPG (17.46 KiB) Viewed 499 times
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: Error and close browser for memory consumption.

Post 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)

Code: Select all

pui["refresh interval"] = 500;
More information can be found here:
https://core.profoundlogic.com/docs/dis ... h+Interval
JPG
Profound User
Posts: 54
Joined: Fri Dec 19, 2014 12:24 pm
First Name: Juan
Last Name: Perez Garcia
Company Name: NISA
State / Province: Outside Canada/USA
Country: Spain
Contact:

Re: Error and close browser for memory consumption.

Post by JPG »

Thank you, Scott.
We have put it and it seems to work.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests