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
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.
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.
Cumulative update information
SQL Server 2012The 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 releasedNote After you apply the fix, the default SwitchValue setting is set to Off in the MDSModelDeploy.exe.config file.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
For more information about how to deploy a model deployment package by using MDSModelDeploy, visit the following Microsoft Developer Network (MSDN) website:
Article ID: 2683516 - Last Review: 11/19/2012 16:32:00 - Revision: 2.0
Microsoft SQL Server 2012 Developer, Microsoft SQL Server 2012 Enterprise, Microsoft SQL Server 2012 Standard, Microsoft SQL Server 2012 Web
- kbtshoot kbqfe kbfix kbexpertiseadvanced kbsurveynew KB2683516