Development tools for Zephyr on STM32Workbench for Zephyr: VS Code extension to set up, build, flash and debug Zephyr applications on STM32.Devicetree manager: browse, edit and visualize Zephyr devicetree, STM32CubeMX-like for Zephyr.
Look in GUIConf.c for a macro GUI_NUMBYTES which STemWin uses to allocate a memory pool. Default is pretty large and you may be able to reduce that to fit in .bss (if that is the source of the problem.)