Skip to content

Commit 62f6666

Browse files
committed
feat(host): increase heap to 2.5 GiB for subprocess support
Signed-off-by: danbugs <danilochiarlone@gmail.com>
1 parent 937840a commit 62f6666

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

host/src/bin/pydriver_run.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ fn main() -> Result<()> {
4444
let t_evolve = Instant::now();
4545
let mut sandbox = Sandbox::builder(&kernel)
4646
.initrd_file(&initrd)
47-
.heap_size(1280 * 1024 * 1024)
47+
.heap_size(2560 * 1024 * 1024)
4848
.build()?;
4949
eprintln!(
5050
"[timing] evolve={:.1}ms",

host/src/bin/pyhl.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ fn cmd_setup(args: SetupArgs) -> Result<()> {
463463
{
464464
let mut builder = Sandbox::builder(&dst_kernel)
465465
.initrd_file(&dst_initrd)
466-
.heap_size(1280 * 1024 * 1024);
466+
.heap_size(2560 * 1024 * 1024);
467467
for p in &setup_preopens {
468468
builder = builder.preopen(p.clone());
469469
}

0 commit comments

Comments
 (0)