I am developing a package in BIDS 2005 that starts with a XML (XSLT) Task against a very large input file and keep getting the following error
[XML Task] Error: An error occurred with the following error message:
“Exception of type ‘System.OutOfMemoryException’ was thrown.
My workstation is Win7 64 bit – 16 GIG Ram – i7 8 core processor 3.5 gHZ. I run task manager during the process and it only gets up to about 7.5 gigs of ram used during the run until it crashes with the error. I am running against my local instance of SQL 2008 R2 64 bit. The package is configured in BIDS to run in 64 bit mode. I have googled around for a while but found nothing that looks promising – anyone run into this and resolve before? – Thanks.
I actually found a resolution. I used a script task in place of the XML task to do the transform. It only requires 3 lines of code and worked very well on all the feeds including the large ones. Example code for the script follows: