I have a SSIS package that has a child package that is failing. The error message isn't very helpful.
The attempt to add a row to the Data Flow task buffer failed with error code 0xC0047020
The problem seems to be I am running out of Virtual Memory to complete the job.
I found a forum thread that may help solve the problem. http://social.msdn.microsoft.com/forums/en-US/sqlintegrationservices/thread/d6d52157-0270-4200-a8c2-585fa9a0eed5/
From the solutions offered I am unsure though how to:
I am running the package daily in SQL Server 2005. I was running fine daily up until the 12th. I am assuming the dat file that we are using to import data into the database grew to a size that was to large for the database to handle. It's only a 8.90MB csv file though. The import is a straight column to column import.
The problem child package is step 1 and fails and continues and successfully completes the next 8 steps.
The default buffer size is 10 megabytes, with a maximum buffer size of 2^31-1 bytes. The default maximum number of rows is 10,000. Set the number of threads that the task can use during execution, by setting the EngineThreads property.
Data Flow Engine This engine is encapsulated in the data flow tasks which are part of the SSIS Runtime Engine and its task components. The data flow engine provides the in-memory buffers that move the data from source to destination.
How much memory is allocated to SQL Server? How much memory is allocated outside of the SQL Server process space?
The reason I ask is becuase SSIS memory is allocated from the memToLeave area of memory that sits outside of the SQL Server process space.
See here for details on configuring the amount of memory available to the memToLeave portion of memory.
For generic performance tuning of SSIS consult the following article.
http://technet.microsoft.com/en-gb/library/cc966529.aspx
I hope this makes sense but feel free to drop me a line once you have digested the material.
Cheers,
Random thought: memory leak?
Our prod cluster (big corporatebbuild) was SQL 2005 SP1. Memory leaks, reboot needed every 1-4 weeks.
SP2 + HF 3068: fixed
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With