FIX: An out-of-memory error occurs when you run a DAX query against a tabular model in SQL Server 2012 Analysis Services
Microsoft distributes Microsoft SQL Server 2012 fixes as one downloadable file. Because the fixes are cumulative, each new release contains all the hotfixes and all the security fixes that were included with the previous SQL Server 2012 fix release.
Assume that you run a Data Analysis Expressions (DAX) query against a tabular model in Microsoft SQL Server 2012 Analysis Services (SSAS 2012). The DAX query contains a calculated measure that has many nested IF conditions or a Switch command that has many cases. In this situation, an out-of-memory error may occur.
This issue occurs because the DAX engine generates an inefficient query plan for the calculated measure. The query plan includes redundant joins for the calculated measure.
Cumulative update information
SQL Server 2012The fix for this issue was first released in Cumulative Update 1 for SQL Server 2012. For more information about how to obtain this cumulative update package for SQL Server, click the following article number to view the article in the Microsoft Knowledge Base:
2679368 Cumulative update 1 for SQL Server 2012Note Because the builds are cumulative, each new fix release contains all the hotfixes and all the security fixes that were included with the previous SQL Server fix release. We recommend that you consider applying the most recent fix release that contains this hotfix. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
2692828 The SQL Server 2012 builds that were released after SQL Server 2012 was released
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
For more information about DAX queries, visit the following Microsoft Developer Network (MSDN) website:
935897 An Incremental Servicing Model is available from the SQL Server team to deliver hotfixes for reported problemsFor more information about the naming schema for SQL Server updates, click the following article number to view the article in the Microsoft Knowledge Base:
822499 Naming schema for Microsoft SQL Server software update packagesFor more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates
Article ID: 2693568 - Last Review: 11/22/2012 14:07:00 - Revision: 5.2
- kbtshoot kbqfe kbfix kbexpertiseadvanced kbsurveynew KB2693568