|
forked from mysql57-server: https://svnweb.freebsd.org/changeset/ports/548590
Log:
MySQL 5.7 mysqld_safe allows malloc-lib files only in certain locations.
google-perftools port puts libtcmalloc_minimal.so inside /usr/local/lib
To use tcmalloc memory allocator we need mysqld_safe to load libraries from /usr/local/lib
More information about why to use tcmalloc instead of jemalloc here:
https://forums.freebsd.org/threads/freebsd-12-x-and-mysql-5-7-and-importing-file-with-lots-of-small-lines-exhaust-ram-and-swap.72733/
PR: 259816
Sponsored by: Netzkommune GmbH
|