cancel
Showing results for 
Search instead for 
Did you mean: 

Cube IDE freezed after draining free physical memory

PHolt.1
Senior III

It does it only on one PC out of several, however.

More details here (EEVBLOG link, not dodgy, had to do this because this forum cuts pieces out of URLs to other forums)

https://tinyurl.com/4r5uwt2s

 

I've tried the Xmx1024m stmcubeide.ini file parameter, to 768m, which reduces (see above link) the memory used, but Cube still eats up all the physical memory.

24GB RAM machine.

 

2 REPLIES 2
TDK
Super User

Link doesn't work, perhaps due to censoring profanity in the link name.

Eclipse is a memory hog. Don't expect it to change. Using VS Code tools is an alternative.

If you feel a post has answered your question, please click "Accept as Solution".
PHolt.1
Senior III

Basically, whenever one did a debug session in Cube IDE, it would grab more and more RAM and eventually freeze. It would go to 1.5GB, while draining all FREE memory in the system.

It turned out that it was a faulty STLINK V3 ISOL debugger.

Evidently, Cube IDE does some sort of malloc() for each packet sent to the debugger or expected back, and it does no error checking.

The link does work but it takes you to the start of the forum section, so search for "Cube IDE". It is a very long thread. It is around reply 1463.