i read the golang FAQ:https://go.dev/doc/faq#stack_or_heap,i want to know when golang allocate variable on stack or heap. so i write code like below : ...
i read the golang FAQ:https://go.dev/doc/faq#stack_or_heap,i want to know when golang allocate variable on stack or heap. so i write code like below : ...
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 t ...
I used nix for some stuff earlier and it worked. But now I keep getting this: If I nix-shell in some project it'll first install the stuff, but the ...
I have a process that consumes a lot of memory on startup, but frees most of that memory after the process is bootstrapped. I see the following in the ...
I'm new to C++. When I write a program I expect it to compile into a standalone executable, but with C++ there's a lot of talk about dynamic and stati ...
I was trying to apply a deep learning algorithm(CNN) in python but after separating training-testing data and transforming time series to image step m ...
We are migrating from gperftools/tcmalloc 2.0 to 2.8. But some of our test cases fail with "out of memory" error. We use Cent OS 6.5. This happens wit ...
I have many executables that are linked with tcmalloc (.a). I usually do it at the executable level, so that any shared library loaded by the executab ...
I'd like to install tcmalloc from source. I'm on centos8. I'd install from yum but don't see any google-perf or gperf or anything of the sort availab ...
I found that below codes makes heap leak if I check it with tcmalloc heap checker with draconian mode but the leak is not found with LSan (I assume th ...
I came across below code for walking backtrace the reason behind looking for this code is we are using a 3rd party malloc hook hence don't want to ...
Now I am actively studying the code of memory managers jemalloc and tcmalloc. But I can't understand how these two managers track threads. If I under ...
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 p ...
I installed tcmalloc on CentOS using the command: And it proceeds correctly. But I cannot find any installed perftools libraries in /usr/lib/, so I ...
I was recently debugging a crash in a product and identified the cause to be a conflict in the memory allocation symbols exposed by glibc and tcmalloc ...
I am trying to profile an application to compare its performance using different allocation strategies. I have no trouble profiling it when using tcm ...
This is a linkage question rather than a uwsgi question. But I will explain the story. I am using uwsgi to host my flask app. After running some week ...
Using TCMalloc - given heap allocated object, is there any way to get the allocated size of the object (meaning only the size passed in malloc call)? ...
I'm linking my C++ program to tcmalloc with -ltcmalloc_minimal in linux and i have install the ltcmalloc lib with apt-get install libgoogle-perftools- ...
I am training a model built with TF. At the first epoch, TF is slower than the next epochs by a factor of *100 and I am seeing messages like: I tenso ...