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

2018-10-22 Thread Andy
n behalf of Elvis Stansvik > *Sent:* Monday, October 22, 2018 6:26:17 PM > *To:* Nuno Santos > *Cc:* interest@qt-project.org Interest > *Subject:* Re: [Interest] How to inspect a Qt Application memory usage? > > Den mån 22 okt. 2018 kl 18:04 skrev Nuno Santos >: > >

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

2018-10-22 Thread Alexandru Croitor
nt to give it a try. From: Interest on behalf of Elvis Stansvik Sent: Monday, October 22, 2018 6:26:17 PM To: Nuno Santos Cc: interest@qt-project.org Interest Subject: Re: [Interest] How to inspect a Qt Application memory usage? Den mån 22 okt. 2018 kl 18:04 skrev Nuno

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

2018-10-22 Thread Michael Jackson
Doesn't Xcode come with the "Instruments" application which is designed to do the things that OP is asking about? I have used it in the past for function timing and some memory issues but it has been a few years. -- Michael Jackson | Owner, President BlueQuartz Software [e]

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

2018-10-22 Thread Elvis Stansvik
Den mån 22 okt. 2018 kl 18:04 skrev Nuno Santos : > > Elvis, > > I have just tried that it resulted in this. I’m not familiar with valgrind > output. Does this look good to you? > > > --45024-- UNKNOWN mach_msg unhandled MACH_SEND_TRAILER option > --45024-- UNKNOWN mach_msg unhandled

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

2018-10-22 Thread Nuno Santos
Elvis, I have just tried that it resulted in this. I’m not familiar with valgrind output. Does this look good to you? --45024-- UNKNOWN mach_msg unhandled MACH_SEND_TRAILER option --45024-- UNKNOWN mach_msg unhandled MACH_SEND_TRAILER option (repeated 2 times) --45024-- UNKNOWN mach_msg

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

2018-10-22 Thread Elvis Stansvik
I used valgrind with valgrind --tool=massif myApp to track down a memory issue just today actually, and it worked out great, but I don't know if it works on macOS (this was on Linux). I used massif-visualizer for visualization. I've been meaning to check out heaptrack but haven't gotten around to

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

2018-10-22 Thread Jean-Michaël Celerier
Hasn't valgrind been unable to work since 10.11 or something like this though because of kernel restrictions ? e.g. https://stackoverflow.com/questions/40650338/valgrind-on-macos-sierra --- Jean-Michaël Celerier http://www.jcelerier.name On Mon, Oct 22, 2018 at 5:22 PM Sérgio Martins

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

2018-10-22 Thread Sérgio Martins via Interest
On 2018-10-22 16:18, Nuno Santos wrote: Jean, Thanks for your reply. I’m having issues finding some of the dependencies. I’m currently on Mac OSX. Is heaptrack linux only? Yes, And people have ported applications to Linux just to be able to use it. Alternatively, check if massif is

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

2018-10-22 Thread Nuno Santos
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

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

2018-10-22 Thread Nuno Santos
Jean, Thanks for your reply. I’m having issues finding some of the dependencies. I’m currently on Mac OSX. Is heaptrack linux only? ➜ build git:(master) cmake -DCMAKE_BUILD_TYPE=Release .. -- Could NOT find LibUnwind (missing: LIBUNWIND_LIBRARY LIBUNWIND_HAS_UNW_BACKTRACE) -- Boost version:

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

2018-10-22 Thread René Hansen
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 Which got fixed, but

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

2018-10-22 Thread Francisco Ares
Em seg, 22 de out de 2018 às 11:50, Nuno Santos 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 >

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

2018-10-22 Thread Jean-Michaël Celerier
I've used KDAB's HeapTrack with immense success for this : https://github.com/KDE/heaptrack On 22/10/2018 16:50, Nuno Santos wrote: 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] How to inspect a Qt Application memory usage?

2018-10-22 Thread Nuno Santos
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@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest