[fix](memory) Fix disable_mem_pools to disable cache #12087
This commit is contained in:
@ -239,7 +239,7 @@ Status BufferPool::BufferAllocator::AllocateInternal(int64_t len, BufferHandle*
|
||||
}
|
||||
if (UNLIKELY(len > system_bytes_limit_)) {
|
||||
err_stream << "Tried to allocate buffer of " << len << " bytes"
|
||||
<< " > buffer pool limit of " << MAX_BUFFER_BYTES << " bytes";
|
||||
<< " > buffer pool limit of " << system_bytes_limit_ << " bytes";
|
||||
return Status::InternalError(err_stream.str());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user