分配 10484320 字节时缓冲区失败

A buffer failed while allocating 10484320 bytes(分配 10484320 字节时缓冲区失败)
本文介绍了分配 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 buffer
  • DefaultBufferMaxRows - 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 字节时缓冲区失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!

相关文档推荐

Execute complex raw SQL query in EF6(在EF6中执行复杂的原始SQL查询)
SSIS: Model design issue causing duplications - can two fact tables be connected?(SSIS:模型设计问题导致重复-两个事实表可以连接吗?)
SQL Server Graph Database - shortest path using multiple edge types(SQL Server图形数据库-使用多种边类型的最短路径)
Invalid column name when using EF Core filtered includes(使用EF核心过滤包括时无效的列名)
How should make faster SQL Server filtering procedure with many parameters(如何让多参数的SQL Server过滤程序更快)
How can I generate an entity–relationship (ER) diagram of a database using Microsoft SQL Server Management Studio?(如何使用Microsoft SQL Server Management Studio生成数据库的实体关系(ER)图?)