Issues with building libjemalloc for percona 8.0 on Ubuntu 22.04

Hello. We had your os version upgraded from 18.04 to 22.04 and after that got memory leak. I found out that changing jemalloc lib from basic libjemalloc2 (5.2.1) in 22.04 to 3.6.0 jammy from dev Percona Repo fixing memory leak issue. But I wan’t able to build deb package for jemalloc-3.6.0 from jemalloc source code in jammy myself.

And in percona opened reps i found only GitHub - percona/jemalloc /jemalloc-debian which seem to be outdated.

Is it possible for percona devs to show how to build jemalloc-3.6.0 for jammy?

@Evgeniy_Patlan maybe you can give some advice?

here is the package that can be installed on ubuntu 22.04 Percona Repo

Also as for source packages you can find them here: Percona Repo

1 Like

The question is actually about exact build cmd. Meaning that on 3.6 jemalloc branch and jammy os it is only available to build deb package with ignore option like

DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -us -uc -b

And on bionic (for example) nocheck-option isn’t required for 3.6 jemalloc

1 Like