A buffer failed while allocating 10484320 bytes(分配 10484320 字节时缓冲区失败)
问题描述
当我运行以下包时,它会成功完成每个任务,直到加载到写入 0 行的目标位置.我减少了缓冲区大小,但仍然没有用.关于如何解决这个问题的任何线索.我收到以下错误消息
When I run the following package, it completes every task successfully until loading into the destination where 0 rows are written. I reduced the buffer size but still didn't work. Any clue on how to solve this. I get the following error messages
分配 10484320 字节时缓冲区失败"、SSIS 错误代码 DTS_E_PROCESSINPUTFAILED"
"A buffer failed while allocating 10484320 bytes", "SSIS Error Code DTS_E_PROCESSINPUTFAILED"
推荐答案
此错误意味着您的系统在缓冲池达到其限制之前内存不足.您需要查看两个数据流属性:
This error means your system is running out of memory before the buffer pool has reached it's limit. There are two data flow properties you want to look at:
DefaultMaxBufferSize
- 设置缓冲区的最大内存使用量DefaultBufferMaxRows
- 设置要缓冲的最大行数
DefaultMaxBufferSize
- Sets the maximum memory usage for bufferDefaultBufferMaxRows
- Sets the maximum rows to buffer
如果您降低 DefaultBufferMaxRows
,它可能足以避免该问题而不会过于具体.如果您确切地知道有多少内存可用于缓冲区(或关闭),您可以将 DefaultMaxBufferSize
降低到刚好低于可用内存的值.
If you lower the DefaultBufferMaxRows
it will probably be enough to avoid the issue without getting too specific. If you know exactly how much memory you have available for the buffer (or close), you could instead lower the DefaultMaxBufferSize
to just below your available memory.
这篇关于分配 10484320 字节时缓冲区失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:分配 10484320 字节时缓冲区失败
基础教程推荐
- 如何在 SQL Server 的嵌套过程中处理事务? 2021-01-01
- SQL Server:只有 GROUP BY 中的最后一个条目 2021-01-01
- 在 VB.NET 中更新 SQL Server DateTime 列 2021-01-01
- 将数据从 MS SQL 迁移到 PostgreSQL? 2022-01-01
- 无法在 ubuntu 中启动 mysql 服务器 2021-01-01
- Sql Server 字符串到日期的转换 2021-01-01
- 使用pyodbc“不安全"的Python多处理和数据库访问? 2022-01-01
- SQL Server 2016更改对象所有者 2022-01-01
- ERROR 2006 (HY000): MySQL 服务器已经消失 2021-01-01
- SQL Server 中单行 MERGE/upsert 的语法 2021-01-01