1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-22 14:28:07 +00:00

emu: increase heap size

This commit is contained in:
Pavol Rusnak 2017-11-06 14:56:16 +01:00
parent 430900ea2c
commit e40c436b82
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

4
emu.sh
View File

@ -7,9 +7,9 @@ OPTLEVEL="${OPTLEVEL:-0}"
MAIN="${MAIN:-main.py}"
BROWSER="${BROWSER:-chromium}"
if file $EXE | grep -q 80386 ; then
HEAPSIZE="${HEAPSIZE:-100000}"
HEAPSIZE="${HEAPSIZE:-163K}"
else
HEAPSIZE="${HEAPSIZE:-1000000}"
HEAPSIZE="${HEAPSIZE:-326K}"
fi
ARGS="-O${OPTLEVEL} -X heapsize=${HEAPSIZE}"