DetailPage-MSS-KB

Microsoft small business knowledge base

Article ID: 2683516 - Last Review: November 19, 2012 - Revision: 2.0

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  (http://support.microsoft.com/kb/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  (http://support.microsoft.com/kb/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 (http://msdn.microsoft.com/en-us/library/hh479646(SQL.110).aspx)
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 (http://blogs.msdn.com/b/jason_howell/archive/2011/12/15/deploying-mds-samples-in-sql-server-2012.aspx)
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 (http://social.technet.microsoft.com/wiki/contents/articles/5648.whats-new-in-master-data-services-mds-in-sql-server-2012.aspx)

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
Share
Additional support options
Ask The Microsoft Small Business Support Community
Contact Microsoft Small Business Support
Find Microsoft Small Business Support Certified Partner
Find a Microsoft Store For In-Person Small Business Support