insufficient_capacity_err

Function insufficient_capacity_err 

Source
fn insufficient_capacity_err(
    reservation: &MemoryReservation,
    additional: usize,
    available: usize,
) -> DataFusionError
Expand description

Constructs a resources error based upon the individual MemoryReservation.

The error references the bytes already allocated for the reservation, and not the total within the collective MemoryPool, nor the total across multiple reservations with the same MemoryConsumer.