From c19eceb29a3865dcf2cc6ec34f5940dcbe7a2f42 Mon Sep 17 00:00:00 2001 From: Jake Jarvis Date: Mon, 29 Mar 2021 10:44:00 -0400 Subject: [PATCH] lower memory limit --- container/bin/boot.rb | 2 +- host/socket.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/container/bin/boot.rb b/container/bin/boot.rb index 58f9708..8db2cca 100755 --- a/container/bin/boot.rb +++ b/container/bin/boot.rb @@ -42,7 +42,7 @@ begin qemu = spawn qemu_path, "-drive", "file=#{base_path}/hdd.img,format=qcow2", "-cpu", "pentium3,enforce", - "-m", "128", + "-m", "96", "-net", "none", "-serial", "none", "-parallel", "none", diff --git a/host/socket.sh b/host/socket.sh index 3045c64..244426c 100755 --- a/host/socket.sh +++ b/host/socket.sh @@ -4,11 +4,11 @@ --port=80 \ --binary \ --header-ws="Sec-WebSocket-Protocol: binary" \ - --origin=y2k.jarv.is,jarv.is,y2k.jakejarvis.workers.dev \ + --origin=y2k.jarv.is,y2k.app,y2k.jakejarvis.workers.dev \ -- \ docker run \ --cpus 1 \ - --memory 200m \ + --memory 128m \ --network none \ --log-driver none \ --rm -i \