diff --git a/iroh-car/src/util.rs b/iroh-car/src/util.rs index 7cb81366db..25be761018 100644 --- a/iroh-car/src/util.rs +++ b/iroh-car/src/util.rs @@ -5,7 +5,7 @@ use tokio::io::{AsyncRead, AsyncReadExt}; use super::error::Error; /// Maximum size that is used for single node. -pub(crate) const MAX_ALLOC: usize = 4 * 1024 * 1024 * 1024; +pub(crate) const MAX_ALLOC: usize = 4 * 1024 * 1024; pub(crate) async fn ld_read(mut reader: R, buf: &mut Vec) -> Result, Error> where