You are viewing limited content. For full access, please sign in.

Question

Question

Slow Process Modeler

asked on April 3, 2015

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

0 0

Answer

APPROVED ANSWER
replied on April 9, 2015

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.

1 0

Replies

replied on April 3, 2015

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.

0 0
replied on April 6, 2015

This happens on all browsers I have tried:

  • IE 11.0.9600.17633IS
  • Firefox 37.0.1
  • Chrome 41.0.2272.118 m
0 0
replied on April 8, 2015

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

0 0
replied on April 8, 2015

I just opened a support case with our VAR.

0 0
replied on April 8, 2015 Show version history

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.

0 0
APPROVED ANSWER
replied on April 9, 2015

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.

1 0
replied on April 9, 2015

Thank you Alex. We have implemented the suggested fix. We will let you know if you have any further problems.

0 0
replied on April 8, 2015

I just opened a case with my VAR.

You are not allowed to follow up in this post.

Sign in to reply to this post.