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 >:
> >
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
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]
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
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
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
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
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
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
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:
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
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
>
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
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
14 matches
Mail list logo