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 字节时缓冲区失败
基础教程推荐
- 如何使用 mysql.connector 禁用查询缓存 2022-01-01
- SQL:使用来自具有相同列名的两个表中的数据... 2021-01-01
- 将 SQL Server DateTime 列迁移到 DateTimeOffset 2021-01-01
- 是否可以执行按位分组功能? 2021-01-01
- SQL Server 实例在登录协商期间返回无效或不受支持的协议版本 2021-01-01
- SQL 效率:WHERE IN 子查询 vs. JOIN 然后 GROUP 2021-01-01
- 无法解决整理冲突 2021-01-01
- 需要 MySQL 5.1 中的抽象触发器来更新审计日志 2021-01-01
- SSMS 中的权限问题:“对象 'extended_properties'、数据库 'mssqlsystem_resource'、... 错误 229)上的 SELECT 权限被拒绝" 2022-01-01
- 在 SQL 中连接多个表 2021-01-01
