web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

CU7 Upgrade: Merge Code Automatically Performance

(0) ShareShare
ReportReport
Posted on by 505

I am upgrading AX2012 R2 to CU7 and trying to use the new Merge Code Automatically feature introduced in the update.  We have quite a few customizations on the VAR layer and I'm running the Merge job on it.

The problem I have is the merge takes ridiculously long time to process - the last time I checked the progress bar estimated 187 hours remaining and it was stuck on the same method for more than an hour at that point.

Using CTRL+BREAK to get into debugger revealed that 99% of the time is taken by method \Classes\SysDiffUtil\generateMatrix, which executes >1M loops for each customized method.

Has anyone faced the same issue or am I overlooking something?

*This post is locked for comments

I have the same question (0)
  • Tommy Skaue Profile Picture
    Moderator on at
    RE: CU7 Upgrade: Merge Code Automatically Performance

    I have noticed the same. I didnt have time to investigate it further, though. Mine was done within a couple of hours.

  • Verified answer
    Kevin Kidder Profile Picture
    on at
    RE: CU7 Upgrade: Merge Code Automatically Performance

    This is something that Microsoft will be addressing in a hotfix in the near future. We know about the issue and are working on a resolution for the issue.

  • Tommy Skaue Profile Picture
    Moderator on at
    RE: CU7 Upgrade: Merge Code Automatically Performance

    Thank you for the feedback, Kevin. Good to know! :D

  • Denis Guryev Profile Picture
    505 on at
    RE: CU7 Upgrade: Merge Code Automatically Performance

    Thanks Kevin.  Looking forward to the Hotfix.

  • Beat Profile Picture
    1,006 on at
    RE: CU7 Upgrade: Merge Code Automatically Performance

    Hi, actually running that step in software update checklist to update our model in ISV - it is still executing - since 20hrs... The progress bar does not even tell me some expected duration :-(

    Any news regarding a hotfix addressing this issue?

    br

    Beat

  • Tommy Skaue Profile Picture
    Moderator on at
    RE: CU7 Upgrade: Merge Code Automatically Performance

    Could it be this fix?

    http://go.microsoft.com/fwlink/?LinkID=306973&fw=/kb/2919062

  • Suggested answer
    Tommy Skaue Profile Picture
    Moderator on at
    RE: CU7 Upgrade: Merge Code Automatically Performance

    I've done some comparison between the CU7 version of that code and the new version of the classes SysDiffUtil, SysMergeCreateProject and SysMergeUtil. I believe the performance issue has been addressed in that hotfix (KB2919062): http://go.microsoft.com/fwlink/?LinkID=306973&fw=/kb/2919062

    I haven't yet tested the performance gain, but in my upgrade that process was over in less than 3 hours. It obviously depends on how much the AOT has been customized.

  • Suggested answer
    Beat Profile Picture
    1,006 on at
    RE: CU7 Upgrade: Merge Code Automatically Performance

    Hi Tommy,

    I can confirm that this is the right fix!

    Thnx

    Beat

  • Tommy Skaue Profile Picture
    Moderator on at
    RE: CU7 Upgrade: Merge Code Automatically Performance

    Great stuff, Beat. Any measures on the performance improvement? Did you kill the process or let it run through? How long does it take after applying the fix?

  • Beat Profile Picture
    1,006 on at
    RE: CU7 Upgrade: Merge Code Automatically Performance

    Hi Tommy - well i killed the first run after 22 hrs, i did not even got an amount of expected time from progress bar!

    After installing the HF KB2919062 it took about 15 min!

    What an improvement :-)

    br

    Beat

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Community Member Profile Picture

Community Member 4

#2
Nayyar Siddiqi Profile Picture

Nayyar Siddiqi 2

#2
NNaumenko Profile Picture

NNaumenko 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans