Questions tagged [gperftools]

Perftools is a collection of a high-performance multi-threaded malloc() implementation, plus some pretty nifty performance analysis tools.

Perftools is a collection of a high-performance multi-threaded malloc() implementation, plus some pretty nifty performance analysis tools.

71 questions
0
votes
0 answers

How to avoid CMake writting full path of objects to the static library?

The original issue is here. After a few days, I find the problem is here. I tried to use the following CMakeLists.txt to build tcmalloc_minimal_static.lib: #... # https://github.com/gperftools/gperftools/blob/master/CMakeLists.txt#L593 if(MINGW OR…
Duke M
  • 1
0
votes
0 answers

tcmalloc in gperftools crash the programm

Connecting conan-package gperftools sometimes causes this core dump. tcmalloc dynamically linked to gperftools and gperftools dynamically linked to project. Seems like problem with allocation. Does anyone know why it happens? #0 0x00007f8f087ec532…
Endorel
  • 1
  • 1
0
votes
0 answers

which version of tcmalloc is used in gpertools-2.10

tcmalloc is one part of gperftools. I discover the version of tcmalloc used in gperftools laest version(currently 2.10) entirely different from tcmalloc from github: https://github.com/google/tcmalloc. Anyone tells me the differenece between…
Wu Jo
  • 1
0
votes
1 answer

Run pprof on data collected from remote machine?

I have a program that runs on a remote headless machine (ie no X server) that has a memory leak. I was able to install gperftools and ran the heap checker which found the leak. My problem is I can't install pprof on the remote machine because of all…
zephod
  • 11
  • 1
0
votes
1 answer

How to check if a pre-compiled libtcmalloc.so is compiled without libunwind?

I do not know where to even start, apologies for the noob question but seems there's nothing on this specific case in SO unless there's more generic terms I do not know.
mlj
  • 13
  • 2
0
votes
0 answers

What are _Rf_cons and _Rf_allocVector3?

I'm working on an R package that uses Rcpp and RcppArmadillo, and I'm trying to profile one of the main functions in the package to improve its runtime. I'm using gperftools as recommended by Dirk and specifically as described in this blog post. The…
Matt Stone
  • 185
  • 1
  • 1
  • 8
0
votes
0 answers

How to use gperftools on Java Application?

I've learned to install the gperftools on my server from the wiki of gperftools and some blogs . The commands are like these: yum -y install gcc make yum -y install gcc gcc-c++ # upload libunwind-1.2.tar.gz to /home/work/ cd /home/work/ tar zxvf…
CH.Z
  • 31
0
votes
1 answer

What does __GI___poll mean in my profile?

I am using gperftools to profile my C++ code, and the largest node is __GI___poll. It's being called by low level Qt and OpenCL code (mostly Qt), so it's several steps removed from my own code. My guess is that this is just a general-use "wait on…
0
votes
1 answer

TCMALLOC memory leak

On Windows when I static bind tcmalloc with my code, I see continuous memory growth, but there is no growth if I do not use tcmalloc. issue is not present in Linux. I have tried flags below flags: TCMALLOC_RELEASE_RATE =…
0
votes
1 answer

Filtering heaptrack data for size

I recorded a *.gz file with heaptrack for my application. I want to use it to find out how much memory is wasted by using small allocations. Now my question is: Is it possible to filter the gz or data files created by heaptrack so only allocations…
Desperado17
  • 835
  • 6
  • 12
0
votes
1 answer

jetty quits immediately after setting HEAPPROFILE

I want to analyse off-heap memory usage of jetty. So I use gperftools and add env to jetty.sh: export LD_PRELOAD=/usr/local/lib/libtcmalloc.so # export HEAPPROFILE=/home/cccccc/perftools/mybin It works fine [root@xxx ~]# lsof -n | grep…
fairjm
  • 1,115
  • 12
  • 26
0
votes
1 answer

Linking google perf tools for aarch64

I have been using google perf tools successfully on my pc. However, I am compiling and deploying for aarch64 architecture and the profiling results I get for x86 might not match up with aarch64. I wanted to directly measure things on the aarch64…
nimcap
  • 10,062
  • 15
  • 61
  • 69
0
votes
1 answer

Profiling timer expired when using gperftools with sort

I spent the whole day trying to make gperftools working :/ I tired different libunwind versions but when I successed in installing it I got the following error "Profiling timer expired" whenever I used std::system. main.cpp: #include int…
Zingo
  • 600
  • 6
  • 23
0
votes
1 answer

Using gperftools/Heaptrack without installation

I am trying to do heap profiling of C++ application on unix platform. I have tried valgrind's massif but it makes application very slow and affects behavior of the application. I was searching for other options and came across gperftools and…
HadeS
  • 2,020
  • 19
  • 36
0
votes
1 answer

gperftools not showing call graph results

I've got gperftools installed and collecting data, which looks reasonable so far. I see one node (?) that gets sampled a lot - but I'm interested in the callers to that node - I don't see them? I've tried callgrind/kcachegrind also, I feel like I'm…
Jeff
  • 1,969
  • 3
  • 21
  • 35