JIT Compiler Issue RRS feed

  • Question

  • I have a pretty big project with about 60 forms.  Everytime I run the exe the JIT seems to recompile everything from scratch.  The problem is that when I open the application it is very slow.  Then when I open each form for the first time it is very slow.  Once the application has opened the form even if I close it and then reopen it, it is very fast.  This only happens when I run the application for the first time.  To make matters worse when I close the application and then start the application all over again it is slow until the user has opened each for again.  I understood that the JIT was supposed to save a copy of the compiled exe and when you run it, there is a checksum run to make sure it has not changed if it has not changed then it does not compile it again.  Does anyone have any ideas about how to fix this so that it is not slow all the time like this.  The version has not changed so I would think it would not have a need to compile it each time.

    Thanks in advance

    Thursday, September 2, 2010 11:40 AM


All replies