-
-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable jemalloc in chdb shared lib for linux #20
Comments
Was |
Yes. test code is here #22 |
After open debug mode build. I can see the detailed backtrace:
I think this might be an init order problem, as the protobuf lib marked I have tried to get rid of the I also found some interesting results of different allocator performances:
It seems Trying to init |
As analyzed in #19 , we need to enable jemalloc in chdb shared lib.
With tips here jemalloc/jemalloc#1237
I disabled initial exec tls like this:
contrib/jemalloc-cmake/include_linux_x86_64/jemalloc/internal/jemalloc_internal_defs.h.in
But this will cause
call_init
error duringdlopen
:need further dig...
The text was updated successfully, but these errors were encountered: