mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-22 07:28:10 +00:00
emu: increase heap size
This commit is contained in:
parent
430900ea2c
commit
e40c436b82
4
emu.sh
4
emu.sh
@ -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}"
|
||||
|
Loading…
Reference in New Issue
Block a user