Coder Social home page Coder Social logo

libmalloc's Introduction

libmalloc

Binaries Linux builds of the libtcmalloc and the libjemalloc libraries.

Download

First you will need to choose the appropriate tar.gz to download. List of ditributions and corresponding tar.gz suffix to use:

Linux distribution Architecture Suffix tar.gz Download URL
Alpine 3.x x64 alpine-x64 libjemalloc-5.3.0-alpine-x64.tar.gz
libtcmalloc-4.5.16-alpine-x64.tar.gz
Alpine 3.x aarch64 alpine-aarch64 libjemalloc-5.3.0-alpine-aarch64.tar.gz
libtcmalloc-4.5.16-alpine-aarch64.tar.gz
RHEL 7.x x64 redhat7-x64 libjemalloc-5.3.0-redhat7-x64.tar.gz
RHEL 8.x x64 redhat8-x64 libjemalloc-5.3.0-redhat8-x64.tar.gz
libtcmalloc-4.5.16-redhat8-x64.tar.gz
RHEL 8.x aarch64 redhat8-aarch64 libjemalloc-5.3.0-redhat8-aarch64.tar.gz
libtcmalloc-4.5.16-redhat8-aarch64.tar.gz
RHEL 9.x x64 redhat9-x64 libjemalloc-5.3.0-redhat9-x64.tar.gz
libtcmalloc-4.5.16-redhat9-x64.tar.gz
RHEL 9.x aarch64 redhat9-aarch64 libjemalloc-5.3.0-redhat9-aarch64.tar.gz
libtcmalloc-4.5.16-redhat9-aarch64.tar.gz
Oracle 8.x x64 oracle8-x64 libjemalloc-5.3.0-oracle8-x64.tar.gz
libtcmalloc-4.5.16-oracle8-x64.tar.gz
Oracle 8.x aarch64 oracle8-aarch64 libjemalloc-5.3.0-oracle8-aarch64.tar.gz
libtcmalloc-4.5.16-oracle8-aarch64.tar.gz
Oracle 9.x x64 redhat9-x64 libjemalloc-5.3.0-redhat9-x64.tar.gz
libtcmalloc-4.5.16-redhat9-x64.tar.gz
Oracle 9.x aarch64 redhat9-aarch64 libjemalloc-5.3.0-redhat9-aarch64.tar.gz
libtcmalloc-4.5.16-redhat9-aarch64.tar.gz
Ubuntu x64 debian-x64 libjemalloc-5.3.0-debian-x64.tar.gz
libtcmalloc-4.5.16-debian-x64.tar.gz
Ubuntu aarch64 debian-aarch64 libjemalloc-5.3.0-debian-aarch64.tar.gz
libtcmalloc-4.5.16-debian-focal-aarch64.tar.gz

Usage

To use it with a target application:

  1. Download the package that fits your Linux distribution and processor.
  2. Place the library you want to use on a Linux folder accessible by your application.
  3. Set the environment variable LD_PRELOAD: LD_PRELOAD=/path/to/a/folder/libmylib.so.1.2.3
  4. Start your target application.

Checking

To check if the library is being used:

  1. Get the target application PID.
  2. Execute grep libmylib.so.1.2.3 /proc/[PID]/maps.
  3. Verify if there are any lines with libmylib.so.1.2.3 to make sure it's loaded.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.