We have a couple of processes in Forms that rather large. It seems as though after working with the process modeler for these, after awhile the process modeler because extremely slow when responding to actions. Are there plans at addressing performance issues specifically regarding the process modeler with larger processes in a future version of Forms? We are using Forms 9.2.1.1069
Question
Question
Answer
For one of the main causes of the memory leak (panning around the canvas, scrolling vertically and horizontally) the fix would be to go into C:\Program Files\Laserfiche\Laserfiche Forms\Forms\js\canvas and edit the sequenceFlow.js file. Look for the string
sf.lineLabel = new Kinetic.Rect(LBPMN.Global.shapeConfig["sequenceFlowLabel"]);
and comment that out by changing it to
/*sf.lineLabel = new Kinetic.Rect(LBPMN.Global.shapeConfig["sequenceFlowLabel"]);*/
Then save the file. You'll have to do an iisreset and then clear the browser cache. Then close and reopen the browser and you should notice memory no longer leaking when just scrolling around the canvas.
Also, it seems that when using Chrome, memory will get released if you minimize the browser window and then bring it back up again so that might be an alternative to having to close the browser entirely and reopen it.
Replies
Can you give more details about the version of the browser you are using? Please go to the browser's "about" page and include the long version number.
Blake,
Please open a support case with your reseller. It would be helpful if you could provide some of the problematic business processes as well so we can further investigate them.
Thanks
Thanks Blake. On initial inspection, it looks like a memory leak in the web browser when moving around the business process modeler canvas. We'll research the matter a bit more and update your support case. Once we've reached a conclusion on the matter, we'll update this thread.
For now though, you may just need to periodically close and reopen the web browser in between saving different iterations of your business process.
For one of the main causes of the memory leak (panning around the canvas, scrolling vertically and horizontally) the fix would be to go into C:\Program Files\Laserfiche\Laserfiche Forms\Forms\js\canvas and edit the sequenceFlow.js file. Look for the string
sf.lineLabel = new Kinetic.Rect(LBPMN.Global.shapeConfig["sequenceFlowLabel"]);
and comment that out by changing it to
/*sf.lineLabel = new Kinetic.Rect(LBPMN.Global.shapeConfig["sequenceFlowLabel"]);*/
Then save the file. You'll have to do an iisreset and then clear the browser cache. Then close and reopen the browser and you should notice memory no longer leaking when just scrolling around the canvas.
Also, it seems that when using Chrome, memory will get released if you minimize the browser window and then bring it back up again so that might be an alternative to having to close the browser entirely and reopen it.
Thank you Alex. We have implemented the suggested fix. We will let you know if you have any further problems.