Screen freezes while changing

What do you want to achieve?

Recently I have started using Squareline Studio and I was amaze while making HMIs. It works very smooth and stable with Less functionality but when it comes to multiple screen IT CRASHES AND HANGS, reset is the only option to get back with no guarantee when it will crash again.

What have you tried so far?

I have used trial version of Squareline 1.3.4 and I thought may be this version is buggy so I used version 1.3.1 comparitively less but still screen freezes.

Screenshot or video


  • SquareLine Studio version: - 1.3.4 and1.3.1
  • **Operating system: - windows 10 **
  • Target hardware: - WT32 Sc01 plus or simply esp32-s3-devkitc-1

Freezes and crash on target hw? When yes isnt problem in Squareline, but in your code.

I got this error from the logs

[Error](99.164, +99164) lv_mem_realloc: couldn’t allocate memory (in lv_mem.c line #211)
[Error](99.164, +0) lv_mem_buf_get: Asserted at expression: buf != NULL (Out of memory, can’t allocate a new buffer (increase your LV_MEM_SIZE/heap size)) (in lv_mem.c line #312)

on the screen im getting
45 FPS
99 CPU
but my code size was
RAM: [== ] 24.8% (used 81420 bytes from 327680 bytes)
Flash: [===== ] 47.2% (used 1577913 bytes from 3342336 bytes)

Change lv_conf memory size or set mem custom 1

Duplicate post, replied there (Set LV_MEM_CUSTOM to 1?): Stability issues - #6 by Hermit