Questions tagged [jemalloc]

jemalloc is a general purpose malloc implementation that emphasizes fragmentation avoidance and scalable concurrency support.

jemalloc is a general purpose malloc implementation that emphasizes fragmentation avoidance and scalable concurrency support.

85 questions
0
votes
1 answer

Cannot install new versions of jemalloc gem (to work on heroku)

I have been having serious memory issues on my Ruby on Rails application (ruby 2.3.3, rails 4.2.10) for a while now and I want to try the gem jemalloc as well as the buildpack heroku-buildpack-jemalloc as it seems to have helped others a whole lot.…
Christoffer
  • 2,271
  • 3
  • 26
  • 57
0
votes
1 answer

How do jemalloc and tcmalloc track threads?

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 understand correctly, a new thread can be detected during memory allocation, after which a new thread…
0
votes
2 answers

Jemalloc functions not declared in this scope

I installed the jemalloc library on my ubuntu machine by sudo apt-get install libjemalloc-dev Now, I can't compile a simple code that uses the jemalloc library: #include #include int main() { void* ptr =…
0
votes
0 answers

Use jemalloc on windows as like tcmalloc

I want to use jemalloc on windows as like tcmalloc. In tcmalloc I just need to include the tcmalloc header in source and link with tcmalloc_minimal.lib and Force include __tcmalloc symbol in linker option. All malloc and free calls are replaced by…
david
  • 321
  • 3
  • 12
0
votes
0 answers

How to invoke Jemalloc.dll into application running on windows 7 32-bit

I want to use jemalloc for memory profiling of DLLs. I am using jemalloc 4.3.0. I build it in Microsoft Visual Studio 2015. Now how can jemalloc.dll be used in the application? The application is in Java and it uses native code written in C++. My OS…
gari
  • 11
  • 3
0
votes
0 answers

redis jemalloc on Linux

I'm into Redis open source project these days, so I've read README of the project. Reading that, I gotta question about Memory allocator for Redis. ~~~ Selecting a non-default memory allocator when building Redis is done by setting the MALLOC…
0
votes
0 answers

Command-line Objective-C++ tool has started crashing in [NSApplication sharedApplication]

I have a little CLT for copying and pasting images, written in Objective-C++. Until recently, this program compiled and ran as intended – but only just now, it seems, it has started crashing in the call to [NSApplication sharedApplication]. The…
0
votes
1 answer

Memory of Jemalloc increase a lot after using a new thread pool without service restart

Background: I am working on a search engine, and develop a new feature which will create a new thread pool (32 threads). The queries which meet some rules will be executed by the new thread pool. At the same time, the old thread pool (also has 32…
Shuai
  • 21
  • 6
0
votes
0 answers

Keep getting error when building redis rpm

When I try to build my rpm for redis-3.2.3 I get the following error even though the file is there: cc: error: ../deps/jemalloc/lib/libjemalloc.a: No such file or directory make[1]: *** [redis-server] Error 1 make[1]: Leaving directory…
Amen Ra
  • 2,843
  • 8
  • 47
  • 85
-1
votes
1 answer

JVM + LEAK + JEMALLOC = Unsafe_AllocateMemory

It is being a lot of hour re-searching and try find wth is calling a unsafe.allocateMemory and no success at all. Kind of disappointed :-( Im not a expert or profile or with jemalloc but here is what I did so far and hopefully someone can see/find…
usphisics
  • 131
  • 1
  • 6
1 2 3 4 5
6