You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I hava a shared library .so, which compiled with static library jemalloc_pic.a.
Some application load my .so by dlopen().
When I use jemalloc 4.5.0 it works.
But when I upgrade to jemalloc 5.0.1, dlopen() fail: 'cannot allocate memory in static TLS block'.
For performance reasons jemalloc 5 uses more TLS space. This causes isses for dlopen jemalloc where the pre allocated TLS may not be enough for jemalloc. The option --disable-initial-exec-tls in INSTALL.md should solve it for you. For more details see the discussion in #937.
Reacted by Enzo Molion, Andrew G, sailfish009, bartolootrit, TimLand, Dylan, Maxim Zhiburt, Philo He and Christian Schwarz
Activity
interwq commentedon Jun 4, 2018
For performance reasons jemalloc 5 uses more TLS space. This causes isses for dlopen jemalloc where the pre allocated TLS may not be enough for jemalloc. The option
--disable-initial-exec-tlsin INSTALL.md should solve it for you. For more details see the discussion in #937.MB-33042: Add --disable-initial-exec-tls flag to jemalloc compilation
ARROW-17246: [Packaging][deb][RPM] Don't use system jemalloc
ARROW-17246: [Packaging][deb][RPM] Don't use system jemalloc (#13739)
ARROW-17246: [Packaging][deb][RPM] Don't use system jemalloc (#13739)
fix(jemalloc): set --disable-initial-exec-tls when building jemalloc
[Enhancement](segment tool): support JNI call & enable position indep…