mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
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:
parent
45656b36cd
commit
17dd2dcd6f
1 changed files with 3 additions and 3 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Reference in a new issue