2017-07-13 01:51 PM
Like it's predecessor, CubeMX (see? I got the name more like correct) has a memory leak.
On the latest MacOS, possibly Windows, I don't know, as you use CubeMX it consumes more and more memory. With every cursor movement and tab switch, gobble gobble.
I'm not talking bytes, or Ks. It uses many gigabytes of RAM.
Andrei
2017-10-25 12:24 PM
I started working with version 4.23.0 yesterday and noticed that, even though CubeMX uses a lot of memory, the amount does not increase anymore.
Well done ST.
Andrei
2018-01-30 01:03 AM
Hi Andrei Chichak,
I already answered to one of your post regarding the same topic (
https://community.st.com/0D50X00009XkhjYSAR
).Do you still have some questions on that topic?
BR. Jeanne
2018-01-30 02:14 AM
Maybe the answer given there was a bit weak.
MacOS roughly follows the same strategy as Unix/Linux - use as much real memory as possible for running tasks.
A clean-up happens only on low-memory situations.
Eventually, Unix/Linux even starts to shoot down applications 'randomly' to free memory. Not sure if MacOS does this as well.
And second, Java (Cube is IMHO written in Java) utilizes a runtime garbage collector mechanism, because memory is managed by this runtime system, not the language/application (like C/C++).
This garbage collector tries to free abandoned memory (not used anymore, but not yet returned to the OS), either event triggered or time triggered.
As comparision, watch the memory usage of Eclipse-based tools or the NetBeans IDE over time ...