alloc: Bump allocation limit to 16MB

This commit is contained in:
Serial 2023-10-22 12:45:16 -04:00 committed by Alex
parent b36e62d98a
commit f08da59e24

View file

@ -1,8 +1,8 @@
use crate::error::Result;
use crate::macros::err;
// We have an allocation limit of 8MB for any one item
const ALLOCATION_LIMIT: usize = 1024 * 1024 * 8;
// We have an allocation limit of 16MB for any one item
const ALLOCATION_LIMIT: usize = 16 * 1024 * 1024;
/// Provides the `fallible_repeat` method on `Vec`
///