jerqi commented on issue #2273: URL: https://github.com/apache/incubator-uniffle/issues/2273#issuecomment-2518998873
> Users can choose whatever kind of bytebuf they want: client: #1767 server: #2145 > > We basically will release every bytebuf, but it does not mean that we don't need PooledByteBuf. We use PooledByteBuf to reduce the number of interactions with the operating system for memory allocation and deallocation. This helps to avoid potential issues such as abnormal growth of RSS (Resident Set Size) memory, which might occur due to frequent and inefficient memory management (especially when using glibc, that's why we recommend using [mimalloc](https://github.com/apache/incubator-uniffle/blob/master/docs/server_guide.md#malloc-recommendation)). But it will throw a ref count exception. I suspect that we released a reused bytebuf in the ByteBuf pool. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
