Error message when you save a SQL Server 2005 Integration Services package in SQL Server Business Intelligence Development Studio: "Exception of type 'System.OutOfMemoryException' was thrown"

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

SYMPTOMS

Consider the following scenario. In Microsoft SQL Server 2005 Integration Services (SSIS), you create an SSIS package. The SSIS package contains some Script tasks or Script components. When the file size of the SSIS package increases to more than 7 megabytes (MB), you receive the following error message when you try to save the SSIS package in SQL Server Business Intelligence Development Studio:
TITLE: Microsoft Visual Studio
------------------------------
Failure saving package.
------------------------------
ADDITIONAL INFORMATION:
Exception of type 'System.OutOfMemoryException' was thrown. (Microsoft.SqlServer.ManagedDTS)
------------------------------
BUTTONS:
OK

CAUSE

This problem occurs because heap memory is fragmented in the SQL Server Business Intelligence Development Studio process.

WORKAROUND

To work around this problem, break up the SSIS package into smaller packages. If you want to provide contiguous workflow in the package design, you can run the child packages from the context of the parent package by using the Execute Package task. Or, run the child packages as separate steps from a SQL Server Agent job.

STATUS

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

MORE INFORMATION

This problem does not occur in SQL Server 2008 Integration Services.

Properties

Article ID: 952110 - Last Review: May 1, 2008 - Revision: 1.1
APPLIES TO
  • Microsoft SQL Server 2005 Standard Edition
  • Microsoft SQL Server 2005 Developer Edition
  • Microsoft SQL Server 2005 Enterprise Edition
  • Microsoft SQL Server 2005 Standard X64 Edition
  • Microsoft SQL Server 2005 Standard Edition for Itanium-based Systems
  • Microsoft SQL Server 2005 Enterprise X64 Edition
  • Microsoft SQL Server 2005 Enterprise Edition for Itanium-based Systems
Keywords: 
kbtshoot kbexpertiseadvanced kbsql2005ssis kbprb KB952110

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