Menu

is it memory leak or something else ?

lamoda
2022-06-16
2022-08-05
  • lamoda

    lamoda - 2022-06-16

    iam use cppcheck 2.8 windows

    iam run gui analyze the local folder of FarManager project
    https://github.com/FarGroup/FarManager/tree/master/far
    and stop analyze when analyze run at file sqllite

    when i look at processchacker
    i see the cppcheck consume a lotof memory ~800Mb
    and this memory was not release when i start analyze another project

    is it memory leak ? and how to fix this

     
  • Daniel Marjamäki

    I don't know. yes it sounds like a lot of memory.

     
  • Daniel Marjamäki

    I also tested a little. analysing cppcheck code. it does look suspicious. the ctu information is something that might increase during the analysis but I would think that should be cleaned up somehow after the analysis.

     
  • Daniel Marjamäki

     
  • Daniel Marjamäki

    I have run with valgrind and it says there is no leak. so I closed the ticket. The memory usage reports in linux can be misleading, Cached memory is reported as used. So my guess is that this is what we saw.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.