cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 ST-Link Utility memory leak

peterm
Associate II
Posted on November 01, 2012 at 06:41

hi

I'm using ST-LINK utility version 2.4.0 with STLinkUSBDriverdll V4.2.3.0 and ST-Link_CLI V1.4.0. I'm using Win 7 x64. I'm using a ST-Link V2

If I use it in ''automatic mode'' it seems to leak memory at an amazing rate. It starts off using 14MB. After an hour and 10 or so boards the Windows Task Manager reports that it's using 1.8GB of RAM.

Is that ''normal''? Why does it leak so much memory? I can't fathom how a small programming utility could possibly use that much RAM!

Peter

#st-link
1 REPLY 1
Posted on November 01, 2012 at 14:52

No that seems pretty abhorrent. On the plus side that would make debugging it a lot easier. You could always bring Windows to it's knees by allocating paint brushes, or other screen (UI/RC) resources, and not releasing them, they were pretty finite so it didn't take much.

I can't fathom how a small programming utility could possibly use that much RAM!

It's got a very efficient allocation loop<G>

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..