Skip to main content
RMoli.3
Associate III
January 2, 2023
Question

High PC RAM usage after updating from 4.18

  • January 2, 2023
  • 9 replies
  • 2326 views

I am trying to update from 4.18 to 4.21 to use the new features of the 4.21 release. I find myself unable to use the 4.21 touchgfx designer due to infinte high RAM usage.

  • With 4.18 touchgfx my project uses around 700MB and raises to 900MB when switching trought the screens.
  • With 4.21, toucghfx my project uses around 1GB and raises around +1GB everytime I switch between the screens. This means that after switching a couple times of selected screen it is already using +7GB of RAM. The RAM usage keeps increasing until it crashes.

Has anyone experienced this behaviour?

I am using a STM32F7676

This topic has been closed for replies.

9 replies

Osman SOYKURT
ST Technical Moderator
January 2, 2023

Hello RMoli.3,

That's strange indeed. Can you provide us more context info, like which version of Windows do you use ? Is it the first time you launched TouchGFX Designer 4.21.0 ? What happens if you create a project in TouchGFX Designer 4.21.0 from scratch ? Can you send us you log files ? (C:\Users\YOUR_USE_NAME\AppData\Roaming\TouchGFX-4.21.0\TouchGFXDesigner.log)

/Osman

ST Software Developer | TouchGFX
RMoli.3
RMoli.3Author
Associate III
January 3, 2023

I upload the requested file @Osman SOYKURT​ 

VAnti.1
Visitor II
January 2, 2023

I have this problem as well, with 4.20. It seems the memory is not released at any point, eventually causing the program to use pagefile and slowing to a halt.

I have also migrated my project from 4.18. I tried to make a small project from scratch and did not experience the issue, although it could be that the amount of memory used by the 2 screens I created is simply not noticeable enough.

Osman SOYKURT
ST Technical Moderator
January 12, 2023

Hello RMoli.3,

We are working now for a patch release that will be available very soon in which we will have this issue fixed. I'll keep you updated about this new release, it will happen soon ;)

/Osman

ST Software Developer | TouchGFX
Osman SOYKURT
ST Technical Moderator
January 23, 2023

Hello RMoli.3 and VAnti.1,

We have fixed this issue in the new version :)

/Osman

ST Software Developer | TouchGFX
ferro
Lead
January 23, 2023

Hi @Osman SOYKURT​ ,

Great to see such a quick fixes/response to users' requests. Thank you !

ferro
Lead
January 23, 2023

I created a simulation project in 4.21.1: 2 screens (550MB of RAM). So far I do not observe any memory usage increase when switching between screens. I use Win10 Business v10.0.19045

RMoli.3
RMoli.3Author
Associate III
January 23, 2023

Just to clarify. With the patch update it seems that the infinite RAM usage is fixed. However, when changing between complex screens the amount of RAM usage peaks at high amount of RAM (+3GB) and then falls back (I supose it now correctly frees the memory) to a more normal aroun 1GB usage. This peak makes the whole computer (with my setup) not responsive for around +20sec.

With touchFX 4.18 the time between screen swaps is basically none. My current project has a fair amount of screens thus these peaks have a great impact on my productivity and is not and option.

VAnti.1
Visitor II
January 24, 2023

I have the same experience as RMoli.3, with the difference that whereas previously with 4.20 the screen was eventually changed (after ~30 seconds of the program not responding), with 4.21.1 it simply never happens (at least not in the 10 minutes I waited). So with my setup the new version is no longer usable.

At least in my case, I think the culprit is the Text resources. I have over 200 texts with translations to 6 languages, and if I remove the texts from the project it works fine.

MTora.1
Associate III
January 25, 2023

I have same problem too.

it takes a while to cache data to RAM.

Version 4.21.0

0693W00000Y96PaQAJ.png

Osman SOYKURT
ST Technical Moderator
January 25, 2023

Hello RMoli.3 and VAnti.1,

Thanks for reporting it :thumbs_up:

Indeed, it seems like projects which include a lot of text resources makes TouchGFX Designer not responding. We're currently investigating this issue and apparently this is due to loading every resources in the screen canvas. I'll let you know when I have more info about it.

/Osman

ST Software Developer | TouchGFX