Skip to main content
Visitor II
November 1, 2012
Question

STM32 ST-Link Utility memory leak

  • November 1, 2012
  • 1 reply
  • 715 views
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
    This topic has been closed for replies.

    1 reply

    Graduate II
    November 1, 2012
    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>