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.
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 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.
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: