How to deal with OWA Large GAL crash issues?
When you search contact in large GAL in OWA, it may crash. Since the default value on MaxTempTableSize is 1000. So we need to change the MaxTempTableSize on the DC to a value higher than the 10000 default. After that we need to change value on msExchQueryBaseDN. MaxTempTableSize: While a query is processed, the db layer may try to create a temporary database table to sort and select intermediate results from. The MaxTempTableSize limit controls how large this temporary database table can be. If the temporary database table would contain more objects than the value for MaxTempTableSize, the db layer performs a much less efficient parsing of the complete DS database and of all the objects in the DS database. msExchQueryBaseDN is the mechanism used to limit certain users to see only a subsection of the address book in OWA. msExchQueryBaseDN is stamped on Active Directory user objects and points to an Address List (AL) or an Organizational Unit (OU). This AL will be used as the Global Addr