FIX: SystemOutOfMemory error when you try to deploy a model deployment package that contains more than 100,000 rows by using the MDSModelDeploy tool in SQL Server 2012

Article translations Article translations
Article ID: 2683516 - View products that this article applies to.
Expand all | Collapse all

On This Page

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 2012
Note 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 MDSModelDeploy
For 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 2012
For 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

Properties

Article ID: 2683516 - Last Review: November 19, 2012 - Revision: 2.0
Applies to
  • Microsoft SQL Server 2012 Developer
  • Microsoft SQL Server 2012 Enterprise
  • Microsoft SQL Server 2012 Standard
  • Microsoft SQL Server 2012 Web
Keywords: 
kbtshoot kbqfe kbfix kbexpertiseadvanced kbsurveynew KB2683516

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com