Linux tools like `jemalloc` or `gperftools` (with `LD_PRELOAD`), along with `strace` or `lsof` for file descriptor leaks, are critical for profiling native memory usage and pinpointing `malloc`/`free` imbalances in Java applications.
Open the full topic