You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/01/06 16:08:39 UTC

[GitHub] [arrow-datafusion] ic4y commented on issue #1504: The destruction of GroupState in high cardinality aggregation takes a lot of time

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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org