mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-22 15:38:11 +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}"
|
MAIN="${MAIN:-main.py}"
|
||||||
BROWSER="${BROWSER:-chromium}"
|
BROWSER="${BROWSER:-chromium}"
|
||||||
if file $EXE | grep -q 80386 ; then
|
if file $EXE | grep -q 80386 ; then
|
||||||
HEAPSIZE="${HEAPSIZE:-100000}"
|
HEAPSIZE="${HEAPSIZE:-163K}"
|
||||||
else
|
else
|
||||||
HEAPSIZE="${HEAPSIZE:-1000000}"
|
HEAPSIZE="${HEAPSIZE:-326K}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ARGS="-O${OPTLEVEL} -X heapsize=${HEAPSIZE}"
|
ARGS="-O${OPTLEVEL} -X heapsize=${HEAPSIZE}"
|
||||||
|
Loading…
Reference in New Issue
Block a user