---
layout: doc
title: general / dump_jemalloc
---
# dump_jemalloc

### NAME

    dump_jemalloc() - dump jemalloc profiling and statistics information

### SYNOPSIS

    void dump_jemalloc();

### DESCRIPTION

    If the driver was built with jemalloc support, requests a jemalloc
    profiling dump and prints jemalloc allocation statistics.  The exact
    destination of the profiling dump is controlled by jemalloc's profiling
    configuration.

    If the driver was not built with jemalloc support, this efun writes a
    debug message saying that jemalloc is disabled and otherwise has no
    effect.

    This efun is intended for driver memory debugging.

### SEE ALSO

    dump_stralloc(3), check_memory(3)
