ic4y commented on issue #1504:
URL: 
https://github.com/apache/arrow-datafusion/issues/1504#issuecomment-1006710778


   > By using --features "mimalloc", it was found that the test results did not 
differ much.
   
   Using --features "mimalloc" did not take effect.
   
   Add the following code  in the `main.rs` (this is mentioned in the [user 
guide](https://github.com/apache/arrow-datafusion/blob/ecb09d9e37a4ea8f06d145c4fdcbdb3b8bb64ab7/docs/source/user-guide/library.md))
 can solve this problem
   
   ```rust
   #[global_allocator]
   static ALLOC: snmalloc_rs::SnMalloc = snmalloc_rs::SnMalloc;
   ```
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to