jemallocator icon indicating copy to clipboard operation
jemallocator copied to clipboard

Rust allocator using jemalloc as a backend

Results 50 jemallocator issues
Sort by recently updated
recently updated
newest added

`error: failed to run custom build command for `jemalloc-sys v0.3.2` Caused by: process didn't exit successfully: `/home/tarkhil/near-indexer-for-explorer/target/release/build/jemalloc-sys-226d70a7d25c8eb0/build-script-build` (exit code: 101) --- stdout TARGET=x86_64-unknown-linux-gnu HOST=x86_64-unknown-linux-gnu NUM_JOBS=4 OUT_DIR="/home/tarkhil/near-indexer-for-explorer/target/release/build/jemalloc-sys-23ceb3563468e7b9/out" BUILD_DIR="/home/tarkhil/near-indexer-for-explorer/target/release/build/jemalloc-sys-23ceb3563468e7b9/out/build" SRC_DIR="/home/tarkhil/.cargo/registry/src/github.com-1ecc6299db9ec823/jemalloc-sys-0.3.2" OPT_LEVEL =...

I've 5 crates (having main.rs) all depending on a lib (having lib.rs). Is it sufficient for me to add it in lib.rs or do I need to add it at...

This makes the env variable `DEP_JEMALLOC_INCLUDE` available to the build script, where the include file for C code can be found.

The published packages for `jemalloc-sys` 0.3.1 and 0.3.2 include an extra `rep/` directory that's not in the repo: ``` $ ls -F jemalloc-sys-0.3.?/ jemalloc-sys-0.3.0/: build.rs Cargo.toml Cargo.toml.orig configure/ jemalloc/ README.md...

Pass explicit --enable or --disable to the jemalloc configure.ac to avoid depending on jemalloc defaults (which could change). Resolves #160

The jemalloc checkout included in `jemalloc-sys` has, in `configure.ac`: ``` dnl Enable statistics calculation by default. AC_ARG_ENABLE([stats], [AS_HELP_STRING([--disable-stats], [Disable statistics calculation/reporting])], [if test "x$enable_stats" = "xno" ; then enable_stats="0" else...

The same pointer is used for `oldp` and `newp`: ``` pub unsafe fn update(name: &[u8], mut value: T) -> Result { validate_name(name); let mut len = mem::size_of::(); cvt(jemalloc_sys::mallctl( name as...

This bases on #146. The new configure file and VERSION file are copied from the release package of jemalloc.

In standard jemalloc library, there is a function to access `thread.arena`: http://jemalloc.net/jemalloc.3.html#thread.arena which is very useful for visualizing and debugging memory allocation associated per thread, We should try to add...

Use case: I am LD_PRELOADing a library that is (partially) written in Rust, and will likely be using jemalloc for that code. The more symbols are public, the more chances...