Skip to content

Commit 047f0aa

Browse files
Comments
1 parent 6a22281 commit 047f0aa

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

scripts/run_desktop.sh

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,14 @@ export HEAPSIZE=8M # default, same a PSRAM on many ESP32-S3 boards
2929
# Makes semse because the error is:
3030
# MemoryError: memory allocation failed, allocating 2518043 bytes
3131
# So every new slide needs 2.5MB extra RAM!
32+
# A 1280x720 slide seems to allocate 5530721 bytes, so 6 bytes per pixel... a bit much but okay...
3233

3334
# Fixed by adding lv.image.cache_drop(None) # This helps a lot!
3435

35-
# Now it works with 10M with infinite slides!
36+
#export HEAPSIZE=16M # 8-10MB is not enough for 1280x720 slides, 16MB seems enough in windowed mode
3637

37-
# Now not anymore... let's try increasing it.
38-
#export HEAPSIZE=20M # this is fine for 1024x576
39-
#export HEAPSIZE=15M # fine too
38+
#export HEAPSIZE=64M # fine for fullscreen 1280x720 slides
4039

41-
#export HEAPSIZE=32M # for 1280x720 images in the image viewer
42-
#export HEAPSIZE=128M # for 1280x720 images in the image viewer
4340

4441
# print os and set binary
4542
os_name=$(uname -s)

0 commit comments

Comments
 (0)