Hello -
First - this is configuration
SQL Server 2008 10.0.4000
Integration Services 10.0.4000
Windows Server 2008 64bit
HP DL 380
59 GB RAM
12 Cores
Lots of disk
So, I'm getting memory errors of all things during one particular Aggregation function.
The row length is 12 bytes. (3 columns, 4 bytes each)
There are 200,000,000 rows,
Here is the error:
Error: A buffer failed while allocating 196608 bytes
Error: The system reports 17% memory load. There are 60118847488 bytes of physical memory with 49395331072 bytes free. There are 2147352576 bytes of virtual memory with 207876096 bytes free. The paging file has 146016305152 bytes
with 135324930048 bytes free
Error: The attempt to add a row to the data flow task failed with error code 0x8007000E
Error: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED. The PrimeOutput method on "OLE DEB Source" (1) returned error code 0xC02020C4. The component returned a failure code when the pipeline engine called the PrimeOutput(). The meaning of the failure code is defined by the component, but the error is fatal and the pipeline stopped executing. There may be more errors messages posted before this with more information about the failure.
Just before these errors there is a long sequence of these:
Information: The buffer manager failed a memory allocation call for 65520 bytes, but was unable to swap out any buffers to relieve memory pressure. 71090 Buffers were considered and 71090 were locked. Either not enough memory is available to the pipeline because not enough installed, other processes were using it, or too many buffers are locked.
So, I think it's safe to say that there IS enough memory installed. So this leaves "other processes were using it" or "too many buffers are locked". Either way, I am at a loss on how to trouble shoot this.
Any help is greatly appreciated.
Joe