Skip to content

Conversation

@liyafan82
Copy link
Contributor

This is in response to the discussion in #6323 (comment)

In this issue, we provide an allocation manager that is capable of allocation large (> 2GB) buffers. In addition, it does not depend on the netty library, which is aligning with the general trend of removing netty dependencies. In the future, we are going to make it the default allocation manager.

@github-actions
Copy link

@emkornfield
Copy link
Contributor

@BryanCutler I think you had opinions on this from the original PR do you mind taking a look?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this be private? Perhaps the class should be final too?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good.
I have made it package private (to make testing easier), and made the class final.
Please check it. Thank you.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As the default allocator is changing RootAllocator should probably have its defaults[1] changed so that it doesn't generate a default allocator when it wants a netty one.

[1]

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ignore me...default is still netty

Copy link
Contributor

@rymurr rymurr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are also no tests for the new allocator

@liyafan82
Copy link
Contributor Author

There are also no tests for the new allocator

Thanks for your kind reminder. Test case added. Please check.

pribor pushed a commit to GlobalWebIndex/arrow that referenced this pull request Oct 24, 2025
This is in response to the discussion in apache#6323 (comment)

In this issue, we provide an allocation manager that is capable of allocation large (> 2GB) buffers. In addition, it does not depend on the netty library, which is aligning with the general trend of removing netty dependencies. In the future, we are going to make it the default allocation manager.

Closes apache#6956 from liyafan82/fly_0416_unsf

Lead-authored-by: liyafan82 <fan_li_ya@foxmail.com>
Co-authored-by: emkornfield <emkornfield@gmail.com>
Signed-off-by: Micah Kornfield <emkornfield@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants