FIX: Memory consumption increases quickly and surpasses HardMemoryLimit when you run a query in Many-To-Many dimension

Applies to: SQL Server 2012 Analysis ServicesSQL Server 2014 EnterpriseSQL Server 2014 Enterprise


Assume that you use Microsoft SQL Server 2012 Analysis Service (SSAS 2012) or SSAS 2014. When you run a Multidimensional Expressions (MDX) query against a Many-To-Many dimension, the memory consumption increases very quickly, and surpasses HardMemoryLimit after some time. However, the MDX query may not be canceled as expected when the total consumed memory exceeds HardMemoryLimit. When physical memory is exhausted, the server may become unresponsive.


Cumulative Update information

The issue was first fixed in the following cumulative updates for SQL Server:


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.