diff --git a/kernel/aster-nix/src/process/process_vm/heap.rs b/kernel/aster-nix/src/process/process_vm/heap.rs index 5a43e2381..34b50d944 100644 --- a/kernel/aster-nix/src/process/process_vm/heap.rs +++ b/kernel/aster-nix/src/process/process_vm/heap.rs @@ -17,7 +17,7 @@ use crate::{ /// The base address of user heap pub const USER_HEAP_BASE: Vaddr = 0x0000_0000_1000_0000; /// The max allowed size of user heap -pub const USER_HEAP_SIZE_LIMIT: usize = PAGE_SIZE * 1000; // 4MB +pub const USER_HEAP_SIZE_LIMIT: usize = 16 * 1024 * PAGE_SIZE; // 16 * 4MB #[derive(Debug)] pub struct Heap {