Page 1 of 1

Performance Problems

Posted: Fri Jan 11, 2013 6:07 am
by VSB
Hi!
We' ve created our first profoundui applications.
One of them uses javascript in the onload event.
"setTimeout(function(){ pui.click()}, 5000);"

When this page is running about 2-3h the memory is up to 1GB and more.
This happens on different operating systems and browsers.

Are there any solutions to prevent this?

Re: Performance Problems

Posted: Wed Jan 16, 2013 6:27 pm
by Antonio
Hello,

We had other users experiencing memory leak issues and created a fix for them which worked out well.

The documentation for this solution can be found here:
http://www.profoundlogic.com/docs/displ ... h+Interval

You can create a javascript file that calls this command in your application, or if you already have an existing custom javascript file you can simply add this into it. You would place this custom javascript file here: /www/profoundui/htdocs/profoundui/userdata/custom assuming you kept the default instance name of profoundui.