cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

ThingWorx Navigate is now Windchill Navigate Learn More

Translate the entire conversation x

Thingworx Mashup Crash After Open for a Long Period of Time

JK_10744682
13-Aquamarine

Thingworx Mashup Crash After Open for a Long Period of Time

Hi all,

 

My team has a mashup that is essentially a dashboard that is kept open in our plants for long periods of time without refresh. Specific details of the mashup aren't important for the issue we are seeing. After being open for longer periods of time, the mashup will crash with this error:

JK_10744682_0-1753723149025.png

 

Has anyone encountered this before or know of any way to prevent this from happening? We would like these dashboards to be open during the shifts on monitors in the plant without having to refresh due to a random crash after being open for a while. Any input is greatly appreciated!

 

ACCEPTED SOLUTION

Accepted Solutions

Hi @JK_10744682 

Wouldn't an AutoRefresh with a target of 8 hours that would trigger an Expression with TW.location.reload() effectively solve this?

I'm looking at this from the perspective of time invested in finding out the root cause (which is theoretically the correct path) versus just time invested in this option.

 

View solution in original post

5 REPLIES 5

Hi @JK_10744682 

Wouldn't an AutoRefresh with a target of 8 hours that would trigger an Expression with TW.location.reload() effectively solve this?

I'm looking at this from the perspective of time invested in finding out the root cause (which is theoretically the correct path) versus just time invested in this option.

 

Interesting. I would have expected after 8 hours the browser session is expired and you'd have to re-login.

Constantine
17-Peridot
(To:Rocko)

I would guess they are calling services on timer, and Mashup Runtime logs is what leaks memory.

I would check the console logs. The error says Out of memory, so you need to find out what is eating your memory. It might be a widget with memory leak. Developer Tools (F12) can help finding this.

Having an auto-reload might help, I would use a frequency below session-timeout (30min by default).

Hi @JK_10744682 

It appears that there is a reply that answers your question.  For the benefit of other Community Members who may have the same question, it would be great if you could designate it as the Accepted Solution.

In the event that this response did not answer your question, please post your current status so that we can continue to support.

Thanks for using the PTC Community!

Regards,

Charles

Announcements


Top Tags