From c2e0857d22738bcc4da18af06769976a950d6fb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20M=C3=BCller?= Date: Thu, 16 Jan 2025 09:55:59 +0100 Subject: [PATCH] Increase heap size (#2374) --- crates/allocator/src/bump.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/allocator/src/bump.rs b/crates/allocator/src/bump.rs index 58de274432..6b9431eec0 100644 --- a/crates/allocator/src/bump.rs +++ b/crates/allocator/src/bump.rs @@ -31,7 +31,7 @@ const PAGE_SIZE: usize = 64 * 1024; static mut INNER: Option = None; #[cfg(target_arch = "riscv64")] -static mut RISCV_HEAP: [u8; 1024 * 10] = [0; 1024 * 1024]; +static mut RISCV_HEAP: [u8; 1024 * 1024] = [0; 1024 * 1024]; /// A bump allocator suitable for use in a Wasm environment. pub struct BumpAllocator;