[Interest] How to inspect a Qt Application memory usage?

Nuno Santos nunosantos at imaginando.pt
Mon Oct 22 17:21:51 CEST 2018


Rene,

I have the same problem with valgrind on Mac OSX:

16:20:22: valgrind --child-silent-after-fork=yes --xml-socket=127.0.0.1:51397 --log-socket=127.0.0.1:51398 --xml=yes --smc-check=stack --tool=memcheck --gen-suppressions=all --track-origins=yes --leak-check=summary --num-callers=25 --dsymutil=yes /tmp/build-xpto-Desktop_Qt_5_10_0_clang_64bit-Debug/XPTO.app/Contents/MacOS/XPTO
16:20:22: Failed to start program. Path or permissions wrong?
16:20:22: Analyzing finished.

Francisco, any suggestions?

Thanks!

Regards,

Nuno

> On 22 Oct 2018, at 16:17, René Hansen <renehh at gmail.com> wrote:
> 
> I've tried more than once with Valgrind, but never got it working with QtCreator on macOS. Just tried it now and:
> 
> Failed to start program. Path or permissions wrong?
> 
> Might not be Qt related at all. I've run into this bug before:
> 
> https://bugs.kde.org/show_bug.cgi?id=383723 <https://bugs.kde.org/show_bug.cgi?id=383723>
> 
> Which got fixed, but leads up to other blocking bugs.
> 
> On Mon, 22 Oct 2018 at 17:01 Francisco Ares <frares at gmail.com <mailto:frares at gmail.com>> wrote:
> Em seg, 22 de out de 2018 às 11:50, Nuno Santos <nunosantos at imaginando.pt <mailto:nunosantos at imaginando.pt>> escreveu:
> Hi,
> 
> What tool(s) do you people suggest in order to investigate where is the memory being spent on a Qt application?
> 
> Thanks!
> 
> Nuno
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org <mailto:Interest at qt-project.org>
> http://lists.qt-project.org/mailman/listinfo/interest <http://lists.qt-project.org/mailman/listinfo/interest>
> 
> 
> QtCreator IDE supports Valgrind, for instance. I've already used it, and it rocks!
> 
> Good luck,
> Francisco
> 
> 
> 
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org <mailto:Interest at qt-project.org>
> http://lists.qt-project.org/mailman/listinfo/interest <http://lists.qt-project.org/mailman/listinfo/interest>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20181022/31b26cd6/attachment.html>


More information about the Interest mailing list