Symptoms

Consider the following scenario:

  • You have a model deployment package that contains more than 100,000 rows.

  • You try to deploy the package by using the MDSModelDeploy tool (MDSModelDeploy.exe) in Microsoft SQL Server 2012.

In this scenario, although the MDSModelDeploy tool runs for some time, it does not deploy, and it returns a SystemOutOfMemory error.

Cause

The issue occurs because, by default, the SwitchValue option is set to All in the MDSModelDeploy.exe.config file. Therefore, the deployment application tries to log everything. This causes the exception.

Resolution

Cumulative update information

SQL Server 2012

The fix for this issue was first released in Cumulative Update 1. For more information about how to obtain this cumulative update package for SQL Server 2012, click the following article number to view the article in the Microsoft Knowledge Base:

2679368 Cumulative Update package 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 2012 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 Note After you apply the fix, the default SwitchValue setting is set to Off in the MDSModelDeploy.exe.config file. 

Status

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

More Information

For more information about how to deploy a model deployment package by using MDSModelDeploy, visit the following Microsoft Developer Network (MSDN) website:

How to deploy a model deployment package by using MDSModelDeployFor more information about how to deploy Master Data Services (MDS) samples in SQL Server 2012, visit the following MSDN blog website:

How to deploy MDS samples in SQL Server 2012For more information about the new features in MDS in SQL Server 2012, visit the following Microsoft TechNet website:

What’s New in Master Data Services (MDS) in SQL Server 2012

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

What affected your experience?

Thank you for your feedback!

×