mirror of
https://github.com/Serial-ATA/lofty-rs
synced 2024-11-10 06:34:18 +00:00
alloc: Bump allocation limit to 16MB
This commit is contained in:
parent
b36e62d98a
commit
f08da59e24
1 changed files with 2 additions and 2 deletions
|
@ -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`
|
||||
///
|
||||
|
|
Loading…
Reference in a new issue