(
reservation: &MemoryReservation,
additional: usize,
available: usize,
pool: &impl MemoryPool,
)
| 303 | /// nor the total across multiple reservations with the same [`MemoryConsumer`]. |
| 304 | #[inline(always)] |
| 305 | fn insufficient_capacity_err( |
| 306 | reservation: &MemoryReservation, |
| 307 | additional: usize, |
| 308 | available: usize, |
| 309 | pool: &impl MemoryPool, |
| 310 | ) -> DataFusionError { |
| 311 | resources_datafusion_err!( |
| 312 | "Failed to allocate additional {} for {} with {} already allocated for this reservation - {} remain available for the total memory pool: {}", |
| 313 | human_readable_size(additional), |
| 314 | reservation.registration.consumer.name, |
| 315 | human_readable_size(reservation.size()), |
| 316 | human_readable_size(available), |
| 317 | pool |
| 318 | ) |
| 319 | } |
| 320 | |
| 321 | #[derive(Debug)] |
| 322 | struct TrackedConsumer { |
no outgoing calls
no test coverage detected
searching dependent graphs…