SSIS Error : Code: 0xC0047012 : A buffer failed while allocating 10484760 bytes + Solution


when ever we got the this error  Code: 0xC0047012 : A buffer failed while allocating 10484760 bytes

 it is due to memory size full . All the transactions in SSIS is handled by buffers only

The setting you need to be aware of is "Max Server Memory" and if there is physical memory available on the server then you can increase the memory size using the command below. I am linking to a post where it shows suggested Max memory settings but you shouldn't depend on it completely and use your judgement to find the right balance. SSIS packages use memory that is outside of the Max memory setting and bump your memory reserved for OS as needed. Note that you increase the size of memory for the server and not for a database.
http://sqlserverperformance.wordpress.com/2008/08/06/suggested-max-memory-settings-for-sql-server-20052008-2/
http://troubleshootingsql.com/2010/11/28/common-sql-server-myths-%E2%80%93-series-ii-%E2%80%93-sql-memory/

--Sample code only-- Turn on advanced optionsEXEC sp_configure 'Show Advanced Options', 1
GO
RECONFIGURE
GO

-- See what the current value is for 'max server memory (MB)'EXEC sp_configure

-- Set max server memory = 2300MB for the serverEXEC sp_configure 'max server memory (MB)', 2300
GO
RECONFIGURE
GO


 

Comments

Popular posts from this blog

SSAS : A connection cannot be made to redirector. Ensure that 'SQL Browser' service is running. (Microsoft.AnalysisServices.AdomdClient). + Solution

SSIS Error : Unable to infer the XSD from the XML file. The XML contains multiple namespaces