Loading Extremely Slow and Failing to load

I currently did a fresh install of BPM 9.1

 

The first problem I have is that if I restart the Process engine or restart IIS, the initial load takes between 20-60 seconds.  After that pages load really fast.  Can I do anything to help this initial load time?

 

The Second problem is that I deployed my first process.  It just has a blank form with a textbox to start the process.  When I try and start the process the box pops up and it acts like it is loading the form but it never does.  I have tried republishing it thinking there was a bug with that but no luck.  Any advice here is appreciated.

Tagged:

Comments

  • Solved my 2nd problem.  I created a new action between the process start and first stage and used that and now that works.  I am still interested in what I can do to improve initial loading time though.

  • I am pretty certain you will find the first loading of any forms will be slow. This seems to be a feature of the JITC (Just In Time Compiler). Basically the code is not compiled until first used. which is annoying. Subsequent loads are fine, as you say.

     

    This is particularly annoying during development, when almost every load is a new one, of course! As I believe it compiles on the server (not the client, like Java), the compilation is done for all users.

     

    It would be nice to have the option to compile on deployment, however. I have no idea if this is possible, and if it is, if it needs to be something Metastorm do, Microsoft do, or if there is a setting in IIS.

     

    All of this is speculative, I'm afraid. I am sure others with some knowledge of the environment will be able to correct any misapprehensions I may have.