Speed up your compiles in AX 2012

Hope those who are at #Conv14 are enjoying it! In the meantime, I’ll post a tip I got from Microsoft at #AXTech2014 for the rest of us. šŸ™‚

Simple tricks to speed up compilation: for pre-CU7

  • Single machine deployment
  • Add memory to the build machine
  • Don’t constrain SQL server memory consumption
  • Install KB2844240
  • Install a machine with a faster CPU
  • Alternatively, solid state drives on the build machine

With these, we can get to 45 minutes for an AOT compile

And then, turbo it:turbo

For CU7 (and later), do the above, plus:

  • Parallel compile: axbuild.exe is a new standalone command line tool to coordinate multiple AOS in the same box to complete a full compilation in parallel

Happy DAXing!

About janeteblake

Dynamics AX developer
This entry was posted in AX2012, AX2012 R3, Dynamics AX. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s