shell: increase dummy allocations

In order to test dummy allocations, increase these sizes.

Note that this also causes an error in release mode.

Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
Sean Cross 2020-03-10 17:32:01 +08:00
parent 45656b36cd
commit 17dd2dcd6f

View file

@ -54,12 +54,12 @@ fn main() {
println!("Allocating a ton of space on the stack...");
{
let _big_array = [42u8; 16384];
let _big_array = [42u8; 131072];
}
println!("Increasing heap to 32768...");
println!("Increasing heap to 131072...");
let heap = xous::rsyscall(xous::SysCall::IncreaseHeap(
32768,
131072,
xous::MemoryFlags::R | xous::MemoryFlags::W,
))
.expect("couldn't increase heap");