dlg99 commented on pull request #2989:
URL: https://github.com/apache/bookkeeper/pull/2989#issuecomment-1017175199


   Just switching to PlatformDependent.maxDirectMemory() feels like a misuse of 
it plus it might not work for some people if they e.g. set 
`io.netty.maxDirectMemory` greater than zero.
   I'd try something like a configurable strategy for the DirectMemoryUtils to 
specify how to read the max memory (via Oracle JD specific methods, via 
Huawei's, via config parameter, etc) 


-- 
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